Skip to content

Commit 23640f7

Browse files
committed
US206196 set overflow scroll (and hid scrollbars)
1 parent 11fdd33 commit 23640f7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ $pfe-modal--breakpoint--medium: 640px;
4545
box-shadow: pfe-var(box-shadow--lg);
4646
background-color: pfe-color(surface--lightest);
4747
border-radius: #{pfe-var(ui--border-radius)};
48+
overflow-y: scroll;
49+
scrollbar-width: none; /* Firefox */
50+
-ms-overflow-style: none; /* IE 10+ */
51+
52+
&::-webkit-scrollbar {
53+
display: none;
54+
}
4855

4956
@media screen and (min-width: $pfe-modal--breakpoint--medium) {
5057
max-width: pfe-local(MaxWidth);

0 commit comments

Comments
 (0)