diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-05-24 02:16:30 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-06-15 10:45:43 +1000 |
| commit | c514375228868d00a1a6a1bb8ffcc5cbda3ba7ee (patch) | |
| tree | 3aea06768221d3a7af8d8eda681f64709b872d5f /Layout | |
| parent | 2c503c6f922d103690b727b263b8a92b7b3c42af (diff) | |
Moved MainLayout.razor to Layout/
Diffstat (limited to 'Layout')
| -rw-r--r-- | Layout/MainLayout.razor | 11 | ||||
| -rw-r--r-- | Layout/MainLayout.razor.css | 9 |
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; +} |
