Skip to content

Commit 5f93853

Browse files
authored
Fix scrollbar being hidden by header on site (#5342)
1 parent bd2175b commit 5f93853

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

site/src/routes/_layout.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262

6363
<style>
6464
main {
65-
height: 100%;
6665
position: relative;
6766
margin: 0 auto;
6867
/* padding: var(--nav-h) var(--side-nav) 0 var(--side-nav); */

site/src/routes/repl/[id]/index.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
<style>
118118
.repl-outer {
119119
position: relative;
120-
height: 100%;
120+
height: calc(100vh - var(--nav-h));
121121
--app-controls-h: 5.6rem;
122122
--pane-controls-h: 4.2rem;
123123
overflow: hidden;

0 commit comments

Comments
 (0)