diff --git a/frontend/src/app/main/ui/workspace/sidebar/assets.scss b/frontend/src/app/main/ui/workspace/sidebar/assets.scss index 8958a3c9fd..0c73974ca1 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/assets.scss +++ b/frontend/src/app/main/ui/workspace/sidebar/assets.scss @@ -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); } diff --git a/frontend/src/app/main/ui/workspace/sidebar/assets/file_library.scss b/frontend/src/app/main/ui/workspace/sidebar/assets/file_library.scss index 911361ead9..a131dd26b3 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/assets/file_library.scss +++ b/frontend/src/app/main/ui/workspace/sidebar/assets/file_library.scss @@ -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 {