Skip to content

Commit a986ee8

Browse files
committed
fix: DocsNav sizing / layout responsiveness
1 parent 90e4310 commit a986ee8

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/components/DocsNav.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ const CardLink = ({ docData, isPrev, contentNotTranslated }: CardLinkProps) => {
5858
<LinkBox
5959
as={Flex}
6060
alignItems="center"
61-
mt={4}
62-
w="262px"
61+
w="full"
62+
flex="1"
6363
h="82px"
6464
bg="background.base"
6565
border="1px"
@@ -145,7 +145,14 @@ const DocsNav = ({ contentNotTranslated }: DocsNavProps) => {
145145
<Flex
146146
as="nav"
147147
aria-label="Paginate to document"
148-
direction={{ base: "column-reverse", md: "row" }}
148+
direction={{
149+
base: "column-reverse",
150+
md: "row",
151+
lg: "column-reverse",
152+
xl: "row",
153+
}}
154+
mt="8"
155+
gap="4"
149156
justify="space-between"
150157
alignItems={{ base: "center", md: "flex-start" }}
151158
>

0 commit comments

Comments
 (0)