Skip to content

Commit

Permalink
fix: fix banner position on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Pagebakers committed Aug 6, 2022
1 parent 7bfc20b commit e74bb6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ export const AnnouncementBanner: React.FC<AnnouncementBannerProps> = (
}

return (
<Flex position="absolute" zIndex="10" top="200px" width="100%">
<Flex
position="absolute"
zIndex="10"
top={{ base: '100px', lg: '200px' }}
width="100%"
>
<Container maxW="container.2xl" px="8">
<FallInPlace>
<NextLink href={href}>
Expand Down
5 changes: 3 additions & 2 deletions apps/website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ const Home = () => {
>
Saas UI is a <Em>React component library</Em> and{' '}
<Em>starterkit</Em>
<Br /> that doesn&apos;t get in your way and helps you{' '}
<Br /> build intuitive SaaS products with speed.
<Br display={{ base: 'none', md: 'inline' }} /> that
doesn&apos;t get in your way and helps you <Br /> build
intuitive SaaS products with speed.
</FallInPlace>
}
>
Expand Down

0 comments on commit e74bb6f

Please sign in to comment.