🐛 Fix layout of assets bar when importing external libraries

This commit is contained in:
Belén Albeza 2024-01-19 14:07:08 +01:00
parent 2a7f115266
commit 4a77fdc887
2 changed files with 4 additions and 2 deletions

View file

@ -9,7 +9,7 @@
.assets-bar { .assets-bar {
display: grid; display: grid;
height: 100%; height: 100%;
grid-template-rows: auto 1fr; grid-auto-rows: max-content;
// TODO: ugly hack :( Fix this! we shouldn't be hardcoding this height // TODO: ugly hack :( Fix this! we shouldn't be hardcoding this height
max-height: calc(100vh - $s-80); max-height: calc(100vh - $s-80);
} }

View file

@ -6,12 +6,14 @@
@import "refactor/common-refactor.scss"; @import "refactor/common-refactor.scss";
.tool-window { .tool-window {
margin-block-end: $s-24;
padding-inline-start: $s-12; padding-inline-start: $s-12;
overflow-y: auto; overflow-y: auto;
display: grid; display: grid;
grid-auto-rows: max-content; grid-auto-rows: max-content;
scrollbar-gutter: stable; scrollbar-gutter: stable;
&:last-child {
margin-block-end: $s-24;
}
} }
.file-name { .file-name {