Skip to content

Commit

Permalink
Improve use of available space in grid layout (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocupe authored Apr 30, 2024
1 parent 5b1ce70 commit fd776c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/slimy-pugs-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@livekit/components-styles": patch
---

Improve use of available space in GridLayout component.
2 changes: 1 addition & 1 deletion packages/styles/scss/components/layout/_grid-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
--lk-row-count: 1;
display: grid;
grid-template-columns: repeat(var(--lk-col-count), minmax(0, 1fr));
grid-template-rows: repeat(var(--lk-row-count), minmax(0, 1fr));
grid-auto-rows: minmax(0, 1fr);
grid-gap: var(--grid-gap);
width: 100%;
height: 100%;
Expand Down

0 comments on commit fd776c3

Please sign in to comment.