mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-23 19:30:34 -04:00
Merge pull request #2457 from paulkaplan/scroll-studios
Fix scrollbars for add-to-studio modal
This commit is contained in:
commit
cac7c2ff49
1 changed files with 8 additions and 2 deletions
|
@ -2,6 +2,12 @@
|
|||
@import "../../../frameless";
|
||||
|
||||
.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;
|
||||
|
||||
@media #{$small}, #{$small-height} {
|
||||
|
@ -18,14 +24,14 @@
|
|||
margin: 0 auto;
|
||||
box-shadow: none;
|
||||
width: 100%;
|
||||
height: calc(100% - 3rem);
|
||||
}
|
||||
|
||||
.studio-list-outer-scrollbox {
|
||||
position: relative;
|
||||
background-color: $ui-blue-10percent;
|
||||
min-height: 15rem;
|
||||
max-height: calc(100% - 8rem);
|
||||
flex: 1;
|
||||
height: calc(100% - 5rem);
|
||||
|
||||
@media #{$small-height} {
|
||||
min-height: 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue