fix: make wide page preference affect shared shell
This commit is contained in:
1 parent
e4c1826d6a
commit
94a5c0b9ae
2 files changed
+14
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;
|
||||
|
||||
Reference in new issue
Block a user