Skip to content
Snippets Groups Projects
Commit 616df9be authored by DD Liu's avatar DD Liu
Browse files

make there not be two scroll bars sometimes

parent 95ddb56a
Branches
Tags
No related merge requests found
......@@ -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;
}
......@@ -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%;
......
......@@ -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;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment