Sticky banner update

This commit is contained in:
Kamran Ahmed
2021-09-22 20:39:54 +02:00
parent 694315026e
commit 170b14df4c
2 changed files with 3 additions and 4 deletions

View File

@ -88,7 +88,7 @@ function MobileMenuLinks() {
export function GlobalHeader() { export function GlobalHeader() {
return ( return (
<Box bg='gray.900' p='58px 0 20px'> <Box bg='gray.900' p='20px 0'>
<Container maxW='container.md'> <Container maxW='container.md'>
<Flex justifyContent='space-between' alignItems='center'> <Flex justifyContent='space-between' alignItems='center'>
<Box> <Box>

View File

@ -10,9 +10,8 @@ export function StickyBanner() {
bg={'yellow.300'} bg={'yellow.300'}
color='gray.900' color='gray.900'
alignItems='center' alignItems='center'
position='fixed' position='sticky'
left={0} top={0}
right={0}
zIndex={999} zIndex={999}
justifyContent='center' justifyContent='center'
py='8px' py='8px'