Skip to content

Commit 1dbeedd

Browse files
committed
Remove erroneous CSS
1 parent e8c7f07 commit 1dbeedd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

dotcom-rendering/src/components/SelfHostedVideo.importable.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,13 @@ const videoContainerStyles = (
3434
isCinemagraph: boolean,
3535
aspectRatio: number,
3636
containerAspectRatio?: number, // The aspect ratio of the container
37-
isFeatureCard?: boolean,
3837
) => css`
3938
position: relative;
4039
display: flex;
4140
justify-content: space-around;
4241
background-color: ${palette('--video-background')};
4342
${!isCinemagraph && `z-index: ${getZIndex('video-container')}`};
4443
45-
${!isFeatureCard &&
46-
css`
47-
max-height: 100vh;
48-
max-height: 100svh;
49-
`}
50-
5144
/**
5245
* If the video and its containing slot have different dimensions, the slot will use the aspect
5346
* ratio of the video on mobile, so that the video can take up the full width of the screen.
@@ -723,7 +716,6 @@ export const SelfHostedVideo = ({
723716
isCinemagraph,
724717
aspectRatio,
725718
containerAspectRatio,
726-
isFeatureCard,
727719
)}
728720
>
729721
<figure

0 commit comments

Comments
 (0)