make there not be two scroll bars sometimes

This commit is contained in:
DD Liu committed 2017-05-25 15:26:31 -04:00
1 parent 95ddb56afd
commit 616df9be2c
3 files changed
+7 -3

No files matched your search

+3 -2
View File
@@ -4,10 +4,11 @@
.library-scroll-grid {
display: flex;
justify-content: center;
align-content: flex-start;
background: $ui-pane-gray;
flex-grow: 1;
flex-wrap: wrap;
overflow-y: scroll;
height: 100%;
overflow-y: auto;
height: calc(100% - $library-header-height);
padding: 0.5rem;
}
+2 -1
View File
@@ -15,7 +15,7 @@
.full-modal-content {
position: absolute;
outline: none;
overflow-y: scroll;
overflow-y: auto;
-webkit-overflow-scrolling: 'touch';
user-select: none;
height: 100%;
@@ -37,6 +37,7 @@ $sides: 20rem;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
height: $library-header-height;
box-sizing: border-box;
width: 100%;
+2
View File
@@ -5,3 +5,5 @@ $sprites-per-row: 5;
$menu-bar-height: 3rem;
$sprite-info-height: 5.25rem; /* @todo: SpriteInfo isn't explicitly set to this height yet */
$stage-menu-height: 3rem;
$library-header-height: 4.375rem;