Skip to content

Commit

Permalink
TW-565 Fixed items aligning
Browse files Browse the repository at this point in the history
  • Loading branch information
herkoss committed Jul 31, 2023
1 parent 8ec3760 commit 67b6b88
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/templates/PaymentProviderInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ interface PaymentProviderDropdownFaceContentProps {
const PaymentProviderDropdownFaceContent: FC<PaymentProviderDropdownFaceContentProps> = ({ value, testId }) => (
<div className="w-full flex flex-row items-center gap-2 rounded-md cursor-pointer" {...setTestID(testId)}>
<TopUpProviderIcon providerId={value?.id} />
<div className="flex flex-1 flex-col">
<div className="flex flex-1 flex-col items-start">
{isDefined(value) ? (
<>
<span className="font-normal text-ulg text-gray-700 leading-tight">{value.name}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ const BlockExplorerOptionContent: FC<BlockExplorerOptionContentProps> = ({ optio
>
<BlockExplorerIcon id={option.id} name={option.name} />

<div className="w-full text-lg text-gray-700" {...setTestID(SettingsGeneralSelectors.blockExplorerItem)}>
<div
className="w-full text-left text-lg text-gray-700"
{...setTestID(SettingsGeneralSelectors.blockExplorerItem)}
>
{option.name}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ const FiatCurrencyOptionContent: FC<FiatCurrencyOptionContentProps> = ({ option,
return (
<div
className={classNames(
'w-full flex items-cente py-1.5 px-2 rounded',
'w-full flex items-center py-1.5 px-2 rounded',
isSelected ? 'bg-gray-200' : 'hover:bg-gray-100'
)}
>
<FiatCurrencyIcon option={option} />

<div className="w-full text-lg text-gray-700" {...setTestID(SettingsGeneralSelectors.currencyItem)}>
<div className="w-full text-left text-lg text-gray-700" {...setTestID(SettingsGeneralSelectors.currencyItem)}>
{option.name} ({option.fullname})
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const LocaleOptionContent: FC<LocaleOptionContentProps> = ({ option, isSelected
>
<LocaleIcon option={option} />

<div className="relative w-full text-lg text-gray-700">
<div className="relative text-left w-full text-lg text-gray-700">
{option.label}

{option.disabled && (
Expand Down

0 comments on commit 67b6b88

Please sign in to comment.