Skip to content

Commit 44e10a3

Browse files
committed
US206196 set modal max height to be 90vh for mobile and desktop
1 parent 4fc12c2 commit 44e10a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

elements/pfe-modal/src/pfe-modal.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ $pfe-modal--breakpoint--medium: 640px;
88
--pfe-modal--MinWidth: 50vw;
99
--pfe-modal--MaxWidth--mobile: 94vw;
1010
--pfe-modal--MaxHeight: 90vh;
11-
--pfe-modal--MaxHeight--mobile: 80vh;
1211
--pfe-modal--Padding--mobile: calc(#{pfe-var(container-padding)} * 1.25) calc(#{pfe-var(container-padding)} * 3) calc(#{pfe-var(container-padding)} * 1.25) calc(#{pfe-var(container-padding)} * 1.25);
1312
--pfe-modal--Padding: calc(#{pfe-var(container-padding)} * 2);
1413
--pfe-modal__overlay--BackgroundColor: #{pfe-color(overlay)};
@@ -71,11 +70,10 @@ $pfe-modal--breakpoint--medium: 640px;
7170
max-width: calc(100% - #{pfe-var(ui--element--size)});
7271
overflow-y: auto;
7372
overscroll-behavior: contain;
74-
max-height: pfe-local(MaxHeight--mobile);
73+
max-height: pfe-local(MaxHeight);
7574

7675
@media screen and (min-width: $pfe-modal--breakpoint--medium) {
7776
padding: pfe-local(Padding);
78-
max-height: pfe-local(MaxHeight);
7977
}
8078

8179
&[hidden] {

0 commit comments

Comments
 (0)