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:
commit
6e229a4091
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue