Skip to content

Commit cb0d584

Browse files
committed
don't use margin centering use the existing flexbox centering
1 parent 34a0053 commit cb0d584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/css/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ body.-toc aside.toc.sidebar {
3333
}
3434
}
3535

36-
@media screen and (min-width: 1200px) {
36+
@media screen and (min-width: 1280px) { /* Use xl breakpoint to match existing xl:items-center */
3737
main {
3838
max-width: calc(var(--doc-max-width--desktop) + var(--toc-width)); /* Article + TOC */
39-
margin: 0 auto; /* Center the entire main element */
39+
/* Let parent xl:items-center handle the centering */
4040
}
4141
}
4242

0 commit comments

Comments
 (0)