summaryrefslogtreecommitdiff
path: root/Server.Client/Layout/MainLayout.razor.css
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-22 00:52:16 +1000
committerJake Mannens <jake@asger.xyz>2026-05-23 22:22:55 +1000
commit12eaa5814ef20b0910e8d64a753378b6f6797989 (patch)
tree062cf477c29054e0f089cb80f0cd79a9f3b7ccd9 /Server.Client/Layout/MainLayout.razor.css
parent6de5d7f5364fe1d54703da6d6b7cb08ea26e939f (diff)
Initial commitwasm-initial
Diffstat (limited to 'Server.Client/Layout/MainLayout.razor.css')
-rw-r--r--Server.Client/Layout/MainLayout.razor.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/Server.Client/Layout/MainLayout.razor.css b/Server.Client/Layout/MainLayout.razor.css
new file mode 100644
index 0000000..7e84358
--- /dev/null
+++ b/Server.Client/Layout/MainLayout.razor.css
@@ -0,0 +1,30 @@
+div#content {
+ flex: 1 1 calc(100vh - 59px);
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+body.mobile-menu-visible div#content {
+ display: none;
+}
+
+#blazor-error-ui {
+ color-scheme: light only;
+ background: lightyellow;
+ bottom: 0;
+ box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
+ box-sizing: border-box;
+ display: none;
+ left: 0;
+ padding: 0.6rem 1.25rem 0.7rem 1.25rem;
+ position: fixed;
+ width: 100%;
+ z-index: 1000;
+}
+
+#blazor-error-ui .dismiss {
+ cursor: pointer;
+ position: absolute;
+ right: 0.75rem;
+ top: 0.5rem;
+}