Sticky banner update

pull/1331/head
Kamran Ahmed 3 years ago
parent 694315026e
commit 170b14df4c
  1. 2
      components/global-header.tsx
  2. 5
      components/sticky-banner.tsx

@ -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>

@ -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'

Loading…
Cancel
Save