diff --git a/site/src/components/TopNav.html b/site/src/components/TopNav.html index ffe5003f51..358fe1e818 100644 --- a/site/src/components/TopNav.html +++ b/site/src/components/TopNav.html @@ -57,7 +57,7 @@ display: flex; align-items: center; justify-content: space-between; - width: 100%; + width: 100vw; height: var(--nav-h); padding: 0 var(--side-nav); margin: 0 auto; @@ -162,7 +162,7 @@ position: fixed; top: 0; left: 0; - width: 100%; + width: 100vw; height: var(--nav-h); padding: 0 var(--side-nav) 0 var(--side-nav); display: flex; diff --git a/site/src/routes/repl/_components/CodeMirror.html b/site/src/routes/repl/_components/CodeMirror.html index 32903fecc6..3f227e8b27 100644 --- a/site/src/routes/repl/_components/CodeMirror.html +++ b/site/src/routes/repl/_components/CodeMirror.html @@ -18,9 +18,9 @@ export let mode; export let code; - export let readonly; - export let error; - export let errorLoc; + export let readonly = false; + export let error = null; + export let errorLoc = null; export let warningCount = 0; export let flex = false; export let lineNumbers = true; @@ -146,6 +146,7 @@ -