Skip to content

Commit f8e59b5

Browse files
committed
Fix dialog styling in Safari
1 parent f45b31b commit f8e59b5

File tree

1 file changed

+2
-2
lines changed
  • browser/data-browser/src/components/Dialog

1 file changed

+2
-2
lines changed

browser/data-browser/src/components/Dialog/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ const StyledInnerDialog = styled.div`
228228
grid-template-rows: 1fr auto auto;
229229
gap: 1rem;
230230
grid-template-areas: 'title close' 'content content' 'actions actions';
231-
max-height: 100%;
232231
`;
233232

234233
const fadeInForground = keyframes`
@@ -267,7 +266,8 @@ const StyledDialog = styled.dialog`
267266
max-inline-size: min(90vw, 100ch);
268267
min-inline-size: min(90vw, 60ch);
269268
max-block-size: 100vh;
270-
269+
height: fit-content;
270+
max-height: 90vh;
271271
overflow: visible;
272272
box-shadow: ${p => p.theme.boxShadowSoft};
273273

0 commit comments

Comments
 (0)