mirror of
https://github.com/penpot/penpot.git
synced 2025-06-13 01:51:39 +02: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 {
|
.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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue