Skip to content

Commit ed09b1d

Browse files
committed
Add comment
1 parent 4646f30 commit ed09b1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dotcom-rendering/src/components/FlexibleGeneral.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,9 @@ export const SplashCardLayout = ({
263263
);
264264
}
265265

266-
// We sometimes want to give the headline size on desktop a size bump.
267266
const useLargerHeadlineSizeDesktop =
267+
// When there's no image, we want the text to take up more space. The exception is Opinion
268+
// cards, as avatars are more common and command less visual weight that a standard image.
268269
(!card.image && card.format.design !== ArticleDesign.Comment) ||
269270
card.showLivePlayable;
270271

0 commit comments

Comments
 (0)