Skip to content

Commit ebfdf4a

Browse files
Handle author/artist avatars
1 parent 5d75226 commit ebfdf4a

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

dotcom-rendering/src/components/ArticleHeadline.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -874,10 +874,15 @@ export const ArticleHeadline = ({
874874
case ArticleDesign.Picture:
875875
return (
876876
<div
877-
css={decideBottomPadding({
878-
format,
879-
hasAvatar,
880-
})}
877+
css={[
878+
decideBottomPadding({
879+
format,
880+
hasAvatar,
881+
}),
882+
css`
883+
max-width: 620px;
884+
`,
885+
]}
881886
>
882887
<DesignTag format={format} />
883888
<h1

dotcom-rendering/src/layouts/lib/articleArrangements.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ const pictureCss: LayoutCssMap = {
158158
headline: {
159159
mobile: 'grid-row: 2;',
160160
tablet: 'grid-row: 2;',
161+
desktop: `grid-row: 2; ${grid.between('centre-column-start', 'right-column-end')};`,
161162
leftCol: 'grid-row: 1;',
162163
},
163164
standfirst: {

0 commit comments

Comments
 (0)