We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6c4764 + 95e1e89 commit 1e65807Copy full SHA for 1e65807
dotcom-rendering/src/components/Caption.tsx
@@ -307,7 +307,9 @@ export const Caption = ({
307
shouldLimitWidth && limitedWidth,
308
isOverlaid ? overlaidStyles(format) : bottomMarginStyles,
309
isMainMedia &&
310
- (isBlog || mediaType === 'YoutubeVideo') &&
+ (isBlog ||
311
+ mediaType === 'YoutubeVideo' ||
312
+ mediaType === 'SelfHostedVideo') &&
313
tabletCaptionPadding,
314
padCaption && captionPadding,
315
isImmersive && immersivePadding,
0 commit comments