This commit is contained in:
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);
|
width: calc(100% - 2rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-wide-layout='true'] .sc-header {
|
|
||||||
width: calc(100% - 2rem);
|
|
||||||
margin-inline: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sc-header {
|
.sc-header {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
|
|||||||
@@ -41,11 +41,6 @@ html[data-wide-layout='true'] .sc-main {
|
|||||||
width: calc(100% - 2rem);
|
width: calc(100% - 2rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-wide-layout='true'] .sc-header {
|
|
||||||
width: calc(100% - 2rem);
|
|
||||||
margin-inline: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sc-header {
|
.sc-header {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
|
|||||||
Reference in new issue
Block a user