diff --git a/src/components/PageBody/PageCover.tsx b/src/components/PageBody/PageCover.tsx index 1087326396..0047cdf4f6 100644 --- a/src/components/PageBody/PageCover.tsx +++ b/src/components/PageBody/PageCover.tsx @@ -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}` }} />