Skip to content

Commit

Permalink
feat: add background to banner
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Jul 11, 2024
1 parent 81f9b08 commit b3ed15a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/v2/components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const Banner = ({ children, offset = 112 }: BannerProps) => (
`-bottom-[${Math.abs(offset)}px]`
)}
>
<div className="absolute inset-0 bg-[hsl(240_4%_16%)] data-[theme='dark']:bg-[hsl(240_3%_22%)]" />
{children}
</div>
)
Expand Down

0 comments on commit b3ed15a

Please sign in to comment.