fix: apply wide page preference instantly
This commit is contained in:
1 parent
c097383d3a
commit
08a6d7bd1d
3 files changed
+28
-9
No files matched your search
@@ -34,6 +34,13 @@
|
||||
padding: 1rem 0 1rem;
|
||||
}
|
||||
|
||||
/* The page-width preference is owned by each consumer application. The shared shell only
|
||||
provides the common width cap, so this global hook lets the current app widen that shell as
|
||||
soon as its settings checkbox updates the document attribute. */
|
||||
html[data-wide-layout='true'] .sc-main {
|
||||
width: calc(100% - 2rem);
|
||||
}
|
||||
|
||||
.sc-header {
|
||||
position: sticky;
|
||||
z-index: 20;
|
||||
|
||||
@@ -36,6 +36,13 @@
|
||||
padding: 1rem 0 1rem;
|
||||
}
|
||||
|
||||
/* The page-width preference is owned by each consumer application. The shared shell only
|
||||
provides the common width cap, so this global hook lets the current app widen that shell as
|
||||
soon as its settings checkbox updates the document attribute. */
|
||||
html[data-wide-layout='true'] .sc-main {
|
||||
width: calc(100% - 2rem);
|
||||
}
|
||||
|
||||
.sc-header {
|
||||
position: sticky;
|
||||
z-index: 20;
|
||||
|
||||
Reference in new issue
Block a user