Skip to content

Commit

Permalink
Fix scrollbar being hidden by header on site (sveltejs#5342)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohankokane authored and taylorzane committed Dec 17, 2020
1 parent 1bfa41c commit 9d9f869
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion site/src/routes/_layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@

<style>
main {
height: 100%;
position: relative;
margin: 0 auto;
/* padding: var(--nav-h) var(--side-nav) 0 var(--side-nav); */
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/repl/[id]/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<style>
.repl-outer {
position: relative;
height: 100%;
height: calc(100vh - var(--nav-h));
--app-controls-h: 5.6rem;
--pane-controls-h: 4.2rem;
overflow: hidden;
Expand Down

0 comments on commit 9d9f869

Please sign in to comment.