Skip to content

Commit

Permalink
break point changes and Megamenu design fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Seroxdesign committed Jun 30, 2023
1 parent da0c54e commit 8d89ea9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/design-system/src/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const theme = extendTheme(
base: '0em',
sm: '30em',
md: '48em',
lg: '62em',
lg: '71.5em',
xl: '80em',
'2xl': '96em',
'3xl': '120em',
Expand Down
9 changes: 4 additions & 5 deletions packages/web/components/MegaMenu/DesktopNavLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ export const DesktopNavLinks: React.FC<FlexProps> = (props) => (
variant="link"
minW="fit-content"
color="white"
fontSize="lg"
fontSize={{ lg: 'm', xl: 'lg' }}
fontWeight={700}
textTransform="uppercase"
mx={6}
mx={{ lg: 3, xl: 6 }}
_expanded={{ color: 'cyan.300' }}
_focus={{ outline: 'none', border: 'none' }}
rightIcon={
Expand Down Expand Up @@ -112,7 +112,6 @@ export const DesktopNavLinks: React.FC<FlexProps> = (props) => (
target={section.type === 'external-link' ? '_blank' : ''}
w="full"
h="full"
p={4}
alignItems="center"
_focus={{ outline: 'none' }}
>
Expand All @@ -123,10 +122,10 @@ export const DesktopNavLinks: React.FC<FlexProps> = (props) => (
color={
section.type === 'external-link' ? '#79F8FB' : 'white'
}
fontSize="lg"
fontSize={{ lg: 'm', xl: 'lg' }}
fontWeight={700}
textTransform="uppercase"
mx={6}
mx={{ lg: 3, xl: 6 }}
_expanded={{ color: 'cyan.300' }}
_focus={{ outline: 'none', border: 'none' }}
rightIcon={
Expand Down
1 change: 1 addition & 0 deletions packages/web/components/MegaMenu/MegaMenuHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export const MegaMenuHeader: React.FC = () => {
justify="center"
align="center"
pos="relative"
display={{ base: 'none', sm: 'none', md: 'none', lg: 'flex' }}
>
<Logo
link={user ? '/dashboard' : '/'}
Expand Down

0 comments on commit 8d89ea9

Please sign in to comment.