Skip to content

Commit 62a4131

Browse files
committed
fix(Dialog): limit container size
1 parent 78858bf commit 62a4131

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/overlays/Dialog/Dialog.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ const STYLES_LIST = [...BASE_STYLES, ...DIMENSION_STYLES, ...BLOCK_STYLES];
3333
const DialogElement = tasty({
3434
as: 'section',
3535
styles: {
36+
display: 'grid',
37+
gridRows: 'minmax(0, 1fr)',
3638
fill: '#border',
3739
pointerEvents: 'auto',
3840
position: {

0 commit comments

Comments
 (0)