diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-05-24 02:18:10 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-06-11 01:13:32 +1000 |
| commit | ad4c3ceac2cdea5a569946e71d722d96f422606a (patch) | |
| tree | a4105a8890ca5d8d9f5b5619ec6a120631c7acd8 /Layout/MainLayout.razor.css | |
| parent | 0b395a4c049463633a16bc2411c523e431fbc71d (diff) | |
Added Blazor error banner to MainLayout.razor
Diffstat (limited to 'Layout/MainLayout.razor.css')
| -rw-r--r-- | Layout/MainLayout.razor.css | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/Layout/MainLayout.razor.css b/Layout/MainLayout.razor.css index c2b5603..7e84358 100644 --- a/Layout/MainLayout.razor.css +++ b/Layout/MainLayout.razor.css @@ -1,4 +1,4 @@ -div#content { +div#content { flex: 1 1 calc(100vh - 59px); overflow-x: hidden; overflow-y: auto; @@ -7,3 +7,24 @@ 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; +} |
