Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit af8c209

Browse files
authored
fix width for some docs pages (#1398)
1 parent 171714d commit af8c209

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

assets/tailwind-theme.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,4 +545,11 @@
545545
.desktop-only {
546546
display: none;
547547
}
548-
} */
548+
} */
549+
550+
@layer base {
551+
552+
body {
553+
@apply isolate bg-slate-1 font-sans antialiased;
554+
}
555+
}

pcweb/templates/docpage/docpage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,9 +642,9 @@ def wrapper(*args, **kwargs) -> rx.Component:
642642
class_name="flex flex-row gap-2 mt-8 lg:mt-10 mb-6 lg:mb-12",
643643
),
644644
docpage_footer(path=path.rstrip("/")),
645-
class_name="lg:mt-0 mt-6 px-4 xl:px-20",
645+
class_name="lg:mt-0 mt-6 px-4 xl:px-20 h-screen bg-slate-1",
646646
),
647-
class_name="h-full mx-auto max-w-2xl lg:col-start-2 lg:col-end-3 2xl:col-start-2 2xl:col-end-3 "
647+
class_name="w-full bg-slate-1 h-full mx-auto max-w-2xl "
648648
+ (" xl:max-w-[60rem]" if show_right_sidebar else "xl:max-w-full"),
649649
),
650650
(

0 commit comments

Comments
 (0)