Skip to content

Commit 8d5a874

Browse files
committed
center
1 parent 7c45c24 commit 8d5a874

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

assets/scss/common/_custom.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,3 +327,19 @@
327327
margin: 0 -75px;
328328
}
329329
}
330+
331+
// Fix docs layout centering: the sidebar (col-xl-4, overridden to flex: 0 1 320px)
332+
// and TOC (col-xl-3 = 18.75%) are asymmetric, making the content appear off-center.
333+
// Solution: force sidebar to match the TOC column width (col-xl-3 = 18.75%) and
334+
// center the row so free space (6.25%) splits equally on both sides.
335+
// Result: sidebar (18.75%) + content (56.25%) + TOC (18.75%) = 93.75%, centered.
336+
@include media-breakpoint-up(xl) {
337+
.docs-sidebar {
338+
flex: 0 0 auto !important;
339+
width: 18.75% !important;
340+
}
341+
342+
body.docs .content > .row {
343+
justify-content: center;
344+
}
345+
}

hugo_stats.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@
433433
"-and-more",
434434
"-and-plenty-of-fixes",
435435
"-api-and-security-fixes",
436-
"-apps-enabled-by-default--in-memory-mode",
437436
"-apps-no-queue-required",
438437
"-breaking-changes",
439438
"-breaking-changes-1",
@@ -464,13 +463,10 @@
464463
"-faq",
465464
"-filter-by-ack",
466465
"-final-word",
467-
"-fixes",
468-
"-fixes---gows",
469466
"-fixes--stability",
470467
"-fixes-and-updates",
471468
"-full-changelog",
472469
"-gows",
473-
"-gows-improvements",
474470
"-gows-storage-toggle",
475471
"-group-receipts-tracking",
476472
"-groups",
@@ -492,10 +488,8 @@
492488
"-new---swagger-white-label",
493489
"-new-api-get-apisessioncontactsid",
494490
"-new-engine-wpp",
495-
"-notable-fixes",
496491
"-noweb",
497492
"-noweb-70-rc",
498-
"-noweb-view-once-messages--newsletter-images",
499493
"-observability",
500494
"-other-fixes",
501495
"-other-fixes--read-more",
@@ -769,7 +763,6 @@
769763
"global-proxy-configuration",
770764
"global-webhooks",
771765
"gows",
772-
"gows----fixes",
773766
"gows---pprof",
774767
"gows-10",
775768
"gows-engine",

0 commit comments

Comments
 (0)