Skip to content

Commit

Permalink
fix: add min-height to scroll container so at least 100vh (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandikbarr authored Jul 28, 2021
1 parent 5e78c4d commit 2ce72a8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ $offset-with-configurations: $offset-without-configurations +
vscode-ui-field-tree {
box-sizing: border-box;
padding-top: $host-padding-top / 2;
min-height: calc(100vh - #{$offset-without-configurations});
max-height: calc(100vh - #{$offset-without-configurations});

.has-configurations & {
min-height: calc(100vh - #{$offset-without-configurations});
max-height: calc(100vh - #{$offset-with-configurations});
}
}
Expand Down

0 comments on commit 2ce72a8

Please sign in to comment.