diff --git a/components/common/I18nWidget/I18nWidget.module.css b/components/common/I18nWidget/I18nWidget.module.css index 6e8883521..07a1aeba7 100644 --- a/components/common/I18nWidget/I18nWidget.module.css +++ b/components/common/I18nWidget/I18nWidget.module.css @@ -6,6 +6,10 @@ @apply h-10 px-2 rounded-md border border-accents-2 flex items-center justify-center; } +.button:hover { + @apply border-accents-4 shadow-sm; +} + .button:focus { @apply outline-none; } @@ -18,6 +22,12 @@ } } +.closeButton { + @screen md { + @apply hidden; + } +} + .item { @apply flex cursor-pointer px-6 py-3 flex transition ease-in-out duration-150 text-primary leading-6 font-medium items-center; text-transform: capitalize; @@ -26,3 +36,7 @@ .item:hover { @apply bg-accents-1; } + +.icon { + transform: rotate(180deg); +} diff --git a/components/common/I18nWidget/I18nWidget.tsx b/components/common/I18nWidget/I18nWidget.tsx index d533e8c5e..5c82e3a9a 100644 --- a/components/common/I18nWidget/I18nWidget.tsx +++ b/components/common/I18nWidget/I18nWidget.tsx @@ -3,7 +3,7 @@ import Link from 'next/link' import { FC, useState } from 'react' import { useRouter } from 'next/router' import s from './I18nWidget.module.css' -import { Cross } from '@components/icons' +import { Cross, ChevronUp } from '@components/icons' interface LOCALE_DATA { name: string img: { @@ -43,29 +43,21 @@ const I18nWidget: FC = () => { return (