Skip to content

Commit

Permalink
Merge pull request #473 from semaphore-protocol/website/460
Browse files Browse the repository at this point in the history
Fix Tab selectors on smaller screens
  • Loading branch information
cedoor authored Dec 12, 2023
2 parents 2b0afdf + fd95c3d commit cbf66a8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/website/src/app/learn/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
TabPanels,
Tab,
TabPanel,
TabIndicator,
Divider,
Box,
Image
Expand Down Expand Up @@ -292,15 +291,14 @@ await verifyProof(verificationKey, fullProof)`,
>
<Box overflow="auto" mx="3">
<TabList gap="40px" w="max-content" whiteSpace="nowrap">
<Tab px={0} fontSize="24px">
<Tab px={0} fontSize="24px" _selected={{ borderBottom: "2px solid white" }}>
About Semaphore
</Tab>
<Tab px={0} fontSize="24px">
<Tab px={0} fontSize="24px" _selected={{ borderBottom: "2px solid white" }}>
About Zero Knowledge
</Tab>
</TabList>
</Box>
<TabIndicator mt="-1.5px" height="2px" bg="white" borderRadius="1px" />
<TabPanels mt="80px">
<TabPanel>{renderTabBlockSemaphore()}</TabPanel>
<TabPanel>{renderTabBlockZeroKnowledge()}</TabPanel>
Expand Down

0 comments on commit cbf66a8

Please sign in to comment.