fix: keep header full width in wide layouts
Docker / Docker Build & Push (push) Successful in 4m55s

This commit is contained in:
Gabriel20xx committed 2026-10-26 12:56:13 +00:00
1 parent f5ee0298d8
commit 4e9cb20971
3 files changed
+5 -10

No files matched your search

@@ -0,0 +1,5 @@
---
"@gabriel20xx/web-ui": patch
---
Keep the shared header full width when the wide-page setting is on. The `data-wide-layout` rule no longer narrows `.sc-header` with `calc(100% - 2rem)` and auto margins, which left a gap on both sides of the header. Only `.sc-main` widens now, so the header looks the same in every application whether or not the page is wide.
@@ -41,11 +41,6 @@ html[data-wide-layout='true'] .sc-main {
width: calc(100% - 2rem);
}
html[data-wide-layout='true'] .sc-header {
width: calc(100% - 2rem);
margin-inline: auto;
}
.sc-header {
position: sticky;
z-index: 20;
-5
View File
@@ -41,11 +41,6 @@ html[data-wide-layout='true'] .sc-main {
width: calc(100% - 2rem);
}
html[data-wide-layout='true'] .sc-header {
width: calc(100% - 2rem);
margin-inline: auto;
}
.sc-header {
position: sticky;
z-index: 20;