fix: Remove unnecessary size prop from Modal in ShareRoomPicker component
This commit is contained in:
@@ -280,7 +280,7 @@ export function ShareRoomPicker({ share, onPick, onDismiss }: ShareRoomPickerPro
|
|||||||
escapeDeactivates: stopPropagation,
|
escapeDeactivates: stopPropagation,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Modal size="300" style={{ maxWidth: '280px', maxHeight: 'fit-content' }}>
|
<Modal style={{ maxWidth: '280px' }}>
|
||||||
<Box direction="Column" gap="100" style={{ padding: config.space.S300 }}>
|
<Box direction="Column" gap="100" style={{ padding: config.space.S300 }}>
|
||||||
<Box direction="Column" gap="100">
|
<Box direction="Column" gap="100">
|
||||||
<Text size="H4">Share to {isDm ? 'Person' : 'Room'}?</Text>
|
<Text size="H4">Share to {isDm ? 'Person' : 'Room'}?</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user