fix: keep the header full width in wide layouts

- Remove the wide-layout width override for `.sc-header`
- Add a patch changeset for `@gabriel20xx/web-ui`
This commit is contained in:
Gabriel20xx committed 2026-10-26 12:57:59 +00:00
1 parent a15827fe76
commit cb7a899c77
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.
-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;
-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;