0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-24 15:56:11 -05:00

🐛 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 {
display: grid;
height: 100%;
grid-template-rows: auto 1fr;
grid-auto-rows: max-content;
// TODO: ugly hack :( Fix this! we shouldn't be hardcoding this height
max-height: calc(100vh - $s-80);
}

View file

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