fix(toolbox): Fix overflow menu & button background

This commit is contained in:
Vlad Piersec 2021-03-18 08:52:44 +02:00 committed by vp8x8
parent 7dabfc21b4
commit 92735478d1
2 changed files with 2 additions and 5 deletions

View File

@ -72,8 +72,10 @@
* Keep overflow menu within screen vertical bounds and make it scrollable.
*/
.toolbox-button-wth-dialog > div:nth-child(2) {
background: $menuBG;
max-height: calc(100vh - #{$newToolbarSizeWithPadding} - 46px);
margin-bottom: 4px;
padding: 0;
overflow-y: auto;
}

View File

@ -72,11 +72,6 @@
.toolbox-button-wth-dialog {
display: inline-block;
&> div {
padding: 0;
background: $menuBG;
}
}
}