Skip to content

Commit 444bb06

Browse files
Rebase tidying
1 parent 12a8e03 commit 444bb06

3 files changed

Lines changed: 419 additions & 502 deletions

File tree

dotcom-rendering/src/components/ArticleHeadline.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ type Props = {
4444
hasAvatar?: boolean;
4545
isMatch?: boolean;
4646
starRating?: Rating;
47+
isInverted?: boolean;
4748
};
4849

4950
const topPadding = css`
@@ -398,10 +399,8 @@ export const ArticleHeadline = ({
398399
hasAvatar,
399400
isMatch,
400401
starRating,
402+
isInverted,
401403
}: Props) => {
402-
const isInverted =
403-
format.display === ArticleDisplay.Immersive &&
404-
format.design === ArticleDesign.Standard;
405404
switch (format.display) {
406405
case ArticleDisplay.Immersive: {
407406
switch (format.design) {

0 commit comments

Comments
 (0)