0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-25 00:06:09 -05:00

Merge pull request #4032 from penpot/ladybenko-6660-fix-assets-layout

🐛 Fix layout of assets bar when importing external libraries
This commit is contained in:
Eva Marco 2024-01-19 14:42:01 +01:00 committed by GitHub
commit 6e229a4091
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 {