Skip to content

Commit

Permalink
Hide scrollbars on IE/Edge
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfrost committed Oct 8, 2017
1 parent 9070399 commit 2e6229f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/styleguide/css/pattern-lab.css
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,7 @@
left: 0;
right: 50%;
overflow: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
}
@media all and (min-width: 62em) {
Expand Down Expand Up @@ -1352,6 +1353,7 @@
-ms-flex: 1 0 auto;
flex: 1 0 auto;
overflow: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar;
height: 100%;
padding-top: 0.5rem;
/**
Expand Down
1 change: 1 addition & 0 deletions src/sass/scss/components/_pattern-info.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
left: 0;
right: 50%;
overflow: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

@media all and (min-width: $pl-bp-xl) {
Expand Down
1 change: 1 addition & 0 deletions src/sass/scss/components/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
.pl-c-tabs__content {
flex: 1 0 auto;
overflow: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar;
height: 100%;
padding-top: 0.5rem;

Expand Down

0 comments on commit 2e6229f

Please sign in to comment.