diff --git a/_site/styles.css b/_site/styles.css index e22ad3668..323794a4c 100644 --- a/_site/styles.css +++ b/_site/styles.css @@ -133,6 +133,14 @@ body[data-scroll-locked] { top: var(--banner-height, 0px) !important; } +/* Float the expand/collapse chevron to the right edge of each collapsible + sidebar group. The group button is a flexbox with two children — the label + div and the chevron div — so pushing the chevron container's left margin to + auto pins it to the far right while the label stays left-aligned. */ +#sidebar button[aria-expanded] > div:last-child { + margin-left: auto; +} + /* `navbar-cta.js` injects the GitHub stars + Get-started button into `#navbar-transition-maple` after Mintlify hydrates. The navbar is `justify-content: flex-end`, so the inserted children push the existing