Skip to content

Commit a7318ae

Browse files
committed
refactored the fix to work on all tabs. Use minmax to contain the bottom two containers to their min-content at a min or 5% of total at a max. remaining ~90% is handled by 1fr, 1 fraction of the remaining space after calculating the bottom two.
1 parent 4b47bae commit a7318ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/styles/layout/_bodyContainer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
overflow: hidden;
44
display: grid;
55
grid-template-columns: min-content 1fr;
6-
// grid-template-rows: 90% 5% 5%; JR: this was causing buttons to get cut off when viewport is small
6+
grid-template-rows: 1fr minmax(min-content, 5%) minmax(min-content, 5%);
77
grid-template-areas:
88
'actions states'
99
'travel travel'

0 commit comments

Comments
 (0)