Skip to content

Commit

Permalink
bg fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
the-kwisatz-haderach committed Jan 8, 2024
1 parent 4080164 commit f5c471f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/StoryBlok/PageHeaderBlok/PageHeaderBlok.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ export default function PageHeaderBlok({
display="flex"
alignItems={align === 'center' ? 'center' : 'flex-end'}
justifyContent={align}
backgroundAttachment="fixed"
backgroundAttachment={{ base: 'unset', md: 'fixed' }}
backgroundPosition="center"
backgroundSize={{ base: 'unset', md: 'cover' }}
bgImage={
image?.filename
? `linear-gradient(to top, rgba(0, 0, 0, 0.4) 90%, transparent), url(${image.filename})`
? `linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent), url(${image.filename})`
: undefined
}
>
Expand Down

1 comment on commit f5c471f

@vercel
Copy link

@vercel vercel bot commented on f5c471f Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.