Fixed background styling in specific cases.

This commit is contained in:
Tom 2025-04-07 16:51:17 +00:00
parent 0a511f1424
commit 7048a7c46c
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
<main>
<topbar class="top" />
<div [class.grid]="isSidebarOpen"
<div class="below-topbar"
[class.grid]="isSidebarOpen"
[class.full]="!isSidebarOpen">
@if (isSidebarOpen) {
<sidebar class="navigation" />

View File

@ -21,9 +21,9 @@ main {
html,
body,
div.below-topbar,
main,
content,
sidebar {
content {
background-color: var(--mat-sys-background);
color: var(--mat-sys-on-background);
}