diff options
Diffstat (limited to 'Pages/Shared')
| -rw-r--r-- | Pages/Shared/_Layout.cshtml | 2 | ||||
| -rw-r--r-- | Pages/Shared/_Layout.cshtml.css | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Pages/Shared/_Layout.cshtml b/Pages/Shared/_Layout.cshtml index 9cdb952..4c80500 100644 --- a/Pages/Shared/_Layout.cshtml +++ b/Pages/Shared/_Layout.cshtml @@ -18,7 +18,7 @@ <a href="/">Home</a> <a href="/TagDefinitions">Tags</a> </div> - <div id="content" style="overflow:@(ViewBag.ContentScroll ? "auto" : "hidden");margin:@(ViewBag.ContentMargin ?? "0");"> + <div id="content" style="overflow-y:@(ViewBag.ContentScroll ? "auto" : "hidden");padding:@(ViewBag.ContentMargin ?? "0");"> @RenderBody() </div> </body> diff --git a/Pages/Shared/_Layout.cshtml.css b/Pages/Shared/_Layout.cshtml.css index 5b2ba65..22e36db 100644 --- a/Pages/Shared/_Layout.cshtml.css +++ b/Pages/Shared/_Layout.cshtml.css @@ -4,15 +4,21 @@ } div#navbar > a { + color: white; display: inline-block; padding: 20px 20px 20px 20px; } div#navbar > a:hover { background: rgba(255, 255, 255, 0.4); + filter: none; } div#navbar > a:active { background: #fff; color: var(--col-navbar-bg); +} + +#content { + flex: 1 1 calc(100vh - 119px); }
\ No newline at end of file |
