Skip to content

Commit 77dc946

Browse files
authored
Merge pull request #394 from sbates-idrc/C2LC-673
C2LC-673: Make the page scrollable when there is not enough vertical space
2 parents cfcef9b + 4a61b2c commit 77dc946

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/App.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ body {
1313
box-sizing: border-box;
1414
display: grid;
1515
grid-template-columns: 1fr min-content minmax(auto, calc(#{$c2lc-scene-border-width} + #{$c2lc-scene-border-width} + #{$c2lc-scene-row-header-width} + #{$c2lc-scene-width} + #{$c2lc-scene-space-for-scrollbar} + #{$c2lc-app-scene-container-margin-right})) min-content 1fr;
16-
grid-template-rows: auto auto 1fr 4.5rem;
16+
grid-template-rows: auto auto 1fr 4.6rem;
1717
row-gap: 0.25rem;
1818
height: 100vh;
19+
overflow: auto;
1920
// On mobile Safari, limit the height of the App to the browser content
2021
// area. See:
2122
// https://allthingssmitty.com/2020/05/11/css-fix-for-100vh-in-mobile-webkit/

0 commit comments

Comments
 (0)