Skip to content

Commit

Permalink
fix(dialog): Fixes #4080: corrects dialog fullscreen height
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 524152880
  • Loading branch information
material-web-copybara authored and copybara-github committed Apr 14, 2023
1 parent b7af8ec commit 2a00495
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dialog/lib/_dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
justify-content: center;
box-sizing: border-box;
inset: 0;
block-size: 100vh;
inline-size: 100vw;
max-block-size: 100vh;
max-inline-size: 100vw;
block-size: 100dvh;
inline-size: 100dvw;
max-block-size: 100dvh;
max-inline-size: 100dvw;
border: none;
background: transparent;
padding: 0;
Expand Down Expand Up @@ -77,8 +77,8 @@
position: absolute;
z-index: -1;
inset: 0;
block-size: 100vh;
inline-size: 100vw;
block-size: 100dvh;
inline-size: 100dvw;
pointer-events: none;
}

Expand Down Expand Up @@ -320,8 +320,8 @@
}

:host([showing-fullscreen]) .container {
block-size: 100vh;
inline-size: 100vw;
block-size: 100dvh;
inline-size: 100dvw;
border-radius: 0px;
padding-block-start: 0;
padding-block-end: 0;
Expand Down

0 comments on commit 2a00495

Please sign in to comment.