Skip to content

Commit 3aeb749

Browse files
fix(ui): extend Section media size scale
1 parent c99ecb1 commit 3aeb749

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

packages/swingset/src/stories/section.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const styles = stylex.create({
2929
function ProviderIcon({ provider }: { provider: string }) {
3030
return (
3131
<Section.Media
32-
size='xl'
32+
size='lg'
3333
{...stylex.props(styles.providerMedia)}
3434
>
3535
<img
@@ -54,7 +54,7 @@ export function Default() {
5454
<Section.Group>
5555
<Section.Row>
5656
<Section.Item>
57-
<Section.Media size='xl'>
57+
<Section.Media size='lg'>
5858
<Avatar.Root size='fit'>
5959
<Avatar.Image
6060
alt='Preston Booth'
@@ -144,7 +144,7 @@ export function MultipleEmailAndPhoneNumbers() {
144144
<Section.Group>
145145
<Section.Row>
146146
<Section.Item>
147-
<Section.Media size='xl'>
147+
<Section.Media size='lg'>
148148
<Avatar.Root size='fit'>
149149
<Avatar.Image
150150
alt='Preston Booth'

packages/ui/src/mosaic/components/section/section.styles.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ export const styles = stylex.create({
7979
width: space['6'],
8080
},
8181
mediaLg: {
82-
height: space['8'],
83-
width: space['8'],
82+
height: space['10'],
83+
width: space['10'],
8484
},
8585
mediaXl: {
86-
height: space['10.5'],
87-
width: space['10.5'],
86+
height: space['12'],
87+
width: space['12'],
8888
},
8989
content: {
9090
display: 'flex',

0 commit comments

Comments
 (0)