feat(web): make content width responsive on wide screens (#496)

This commit is contained in:
hu chenxi
2026-04-20 19:48:09 +08:00
committed by GitHub
parent cccee4da63
commit d69f6dfc1e
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -165,6 +165,13 @@ body {
opacity: 1;
}
/* Scale content area to use available space on wide screens */
@media (min-width: 1280px) {
:root {
--content-max-w: min(90%, 1200px);
}
}
/* Desktop sidebar: use custom width from CSS variable */
@media (min-width: 1024px) {
.desktop-scrollbar-left {