Skip to content

Commit 95e1e89

Browse files
committed
Fix padding
1 parent 34e5dda commit 95e1e89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dotcom-rendering/src/components/Caption.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,9 @@ export const Caption = ({
307307
shouldLimitWidth && limitedWidth,
308308
isOverlaid ? overlaidStyles(format) : bottomMarginStyles,
309309
isMainMedia &&
310-
(isBlog || mediaType === 'YoutubeVideo') &&
310+
(isBlog ||
311+
mediaType === 'YoutubeVideo' ||
312+
mediaType === 'SelfHostedVideo') &&
311313
tabletCaptionPadding,
312314
padCaption && captionPadding,
313315
isImmersive && immersivePadding,

0 commit comments

Comments
 (0)