This commit is contained in:
Belen Curcio
2020-10-26 11:23:53 -03:00
parent 24c1c6c70b
commit ea0e193966
4 changed files with 10 additions and 6 deletions

View File

@@ -19,10 +19,10 @@ const I18nWidget: FC = () => {
<nav className={s.root}>
<Menu>
<Menu.Button className={s.button} aria-label="Language selector">
<img className="" src="/flag-us.png" alt="US Flag" />
<span>{LOCALES_MAP[locale || defaultLocale]}</span>
<img className="mr-2" src="/flag-us.png" alt="US Flag" />
<span className="mr-2">{LOCALES_MAP[locale || defaultLocale]}</span>
{options && (
<span className="">
<span>
<DoubleChevron />
</span>
)}

View File

@@ -1,9 +1,12 @@
.input {
@apply bg-transparent px-3 py-2 appearance-none w-full transition
duration-150 ease-in-out pr-10;
@apply bg-transparent px-3 py-2 appearance-none w-full transition duration-150 ease-in-out pr-10;
min-width: 300px;
}
.input:focus {
@apply outline-none shadow-outline-2;
}
.iconContainer {
@apply absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none;
}

View File

@@ -118,7 +118,7 @@
}
.wishlistButton {
@apply w-10 h-10 flex ml-auto items-center justify-center bg-primary text-primary font-semibold inline-block text-xs leading-6 cursor-pointer;
@apply w-10 h-10 flex ml-auto flex items-center justify-center bg-primary text-primary font-semibold text-xs leading-6 cursor-pointer;
}
.imageContainer {