Fix doc link layout on mobile (#210)

This commit is contained in:
arcticfly
2023-09-01 13:42:48 -07:00
committed by GitHub
parent 43a22865fd
commit b682bd6b78

View File

@@ -116,8 +116,8 @@ const NavSidebar = () => {
</VStack> </VStack>
<HStack <HStack
w="full" w="full"
px={{ base: 2, md: 4 }} px={{ base: 3, md: 4 }}
py={{ base: 1, md: 2 }} py={{ base: 0, md: 1 }}
as={ChakraLink} as={ChakraLink}
justifyContent="start" justifyContent="start"
href="https://docs.openpipe.ai" href="https://docs.openpipe.ai"
@@ -126,8 +126,8 @@ const NavSidebar = () => {
spacing={1} spacing={1}
> >
<Icon as={FaReadme} boxSize={4} mr={2} /> <Icon as={FaReadme} boxSize={4} mr={2} />
<Text fontWeight="bold" fontSize="sm"> <Text fontWeight="bold" fontSize="sm" display={{ base: "none", md: "flex" }}>
Read the Docs Open Documentation
</Text> </Text>
</HStack> </HStack>
<Divider /> <Divider />