summaryrefslogtreecommitdiff
path: root/Pages/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'Pages/Shared')
-rw-r--r--Pages/Shared/_Layout.cshtml2
-rw-r--r--Pages/Shared/_Layout.cshtml.css4
2 files changed, 5 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..337ec17 100644
--- a/Pages/Shared/_Layout.cshtml.css
+++ b/Pages/Shared/_Layout.cshtml.css
@@ -15,4 +15,8 @@ div#navbar > a:hover {
div#navbar > a:active {
background: #fff;
color: var(--col-navbar-bg);
+}
+
+#content {
+ flex: 1 1 calc(100vh - 119px);
} \ No newline at end of file