Skip to content

Commit cb54a46

Browse files
committed
feat: hide "languages" below lg breakpoint
1 parent 72470f0 commit cb54a46

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/Nav/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
HStack,
1111
Icon,
1212
MenuButton,
13+
Text,
1314
useDisclosure,
1415
useEventListener,
1516
} from "@chakra-ui/react"
@@ -169,7 +170,10 @@ const Nav: FC<IProps> = ({ path }) => {
169170
verticalAlign="middle"
170171
me={2}
171172
/>
172-
{t("common:languages")} {locale!.toUpperCase()}
173+
<Text hideBelow="lg" as="span">
174+
{t("common:languages")}&nbsp;
175+
</Text>
176+
{locale!.toUpperCase()}
173177
</MenuButton>
174178
</LanguagePicker>
175179
</HStack>

0 commit comments

Comments
 (0)