fix: make wide page preference affect shared shell

This commit is contained in:
Gabriel20xx committed 2026-09-16 23:38:03 +02:00
1 parent e4c1826d6a
commit 94a5c0b9ae
2 files changed
+14

No files matched your search

+7
View File
@@ -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;