summaryrefslogtreecommitdiff
path: root/Layout
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-24 02:16:30 +1000
committerJake Mannens <jake@asger.xyz>2026-06-11 01:13:32 +1000
commit0b395a4c049463633a16bc2411c523e431fbc71d (patch)
tree0b5f7d66acc4a37884ed5fdf859bbae1f85ba5c3 /Layout
parentc35cacb4f61338912065d12e0afed97251d016f5 (diff)
Moved MainLayout.razor to Layout/
Diffstat (limited to 'Layout')
-rw-r--r--Layout/MainLayout.razor11
-rw-r--r--Layout/MainLayout.razor.css9
2 files changed, 20 insertions, 0 deletions
diff --git a/Layout/MainLayout.razor b/Layout/MainLayout.razor
new file mode 100644
index 0000000..8e9f6bd
--- /dev/null
+++ b/Layout/MainLayout.razor
@@ -0,0 +1,11 @@
+@inherits LayoutComponentBase
+
+<link href="@(nameof(HyperBooru)).styles.css" rel="stylesheet" />
+
+<Titlebar/>
+
+<MobileMenu/>
+
+<div id="content">
+ @Body
+</div>
diff --git a/Layout/MainLayout.razor.css b/Layout/MainLayout.razor.css
new file mode 100644
index 0000000..c2b5603
--- /dev/null
+++ b/Layout/MainLayout.razor.css
@@ -0,0 +1,9 @@
+div#content {
+ flex: 1 1 calc(100vh - 59px);
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+body.mobile-menu-visible div#content {
+ display: none;
+}