Skip to content

Commit 03d09bd

Browse files
JamieB-guSiAdcock
andauthored
Update PreferredSourceButton spacing (#15325)
To ensure the text only wraps to two lines at leftCol. Co-authored-by: Simon Adcock <simon.adcock@guardian.co.uk>
1 parent 4e81b3e commit 03d09bd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

dotcom-rendering/src/components/PreferredSourceButton.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,16 @@ export const PreferredSourceButton = () => (
3232
height: 'unset',
3333
padding: '4px 8px 6px 6px',
3434
'.src-button-space': {
35-
flexBasis: space[2],
35+
flexBasis: 2,
3636
flexShrink: 0,
3737
},
3838
},
3939
[from.wide]: {
4040
padding: '10px 12px',
4141
height: 36,
42+
'.src-button-space': {
43+
flexBasis: space[2],
44+
},
4245
},
4346
})}
4447
theme={{

0 commit comments

Comments
 (0)