Unverified Commit cac7c2ff authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub

Merge pull request #2457 from paulkaplan/scroll-studios

Fix scrollbars for add-to-studio modal
parents f945897e 1aafd28b
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
@import "../../../frameless"; @import "../../../frameless";
.mod-addToStudio { .mod-addToStudio {
min-height: 15rem;
max-height: calc(100% - 8rem);
/* Some value for height must be set for scrolling to work */
height: 100%;
overflow: hidden; overflow: hidden;
@media #{$small}, #{$small-height} { @media #{$small}, #{$small-height} {
...@@ -18,14 +24,14 @@ ...@@ -18,14 +24,14 @@
margin: 0 auto; margin: 0 auto;
box-shadow: none; box-shadow: none;
width: 100%; width: 100%;
height: calc(100% - 3rem);
} }
.studio-list-outer-scrollbox { .studio-list-outer-scrollbox {
position: relative; position: relative;
background-color: $ui-blue-10percent; background-color: $ui-blue-10percent;
min-height: 15rem;
max-height: calc(100% - 8rem);
flex: 1; flex: 1;
height: calc(100% - 5rem);
@media #{$small-height} { @media #{$small-height} {
min-height: 0; min-height: 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment