Skip to content

Commit

Permalink
Remove mask on page cover
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse committed Apr 1, 2024
1 parent 7c570a0 commit 9136ef8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/PageBody/PageCover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,7 @@ export async function PageCover(props: {
// Maximum size of the cover
{ width: 1248 },
]}
className={tcls(
'w-full',
'object-cover',
'object-center',
as === 'full'
? ['[mask-image:linear-gradient(rgba(0,0,0,1),_rgba(0,0,0,0.5))]']
: null,
)}
className={tcls('w-full', 'object-cover', 'object-center')}
inlineStyle={{ aspectRatio: `${PAGE_COVER_SIZE.width}/${PAGE_COVER_SIZE.height}` }}
/>
</div>
Expand Down

0 comments on commit 9136ef8

Please sign in to comment.