diff --git a/packages/chronicle/src/themes/default/Layout.module.css b/packages/chronicle/src/themes/default/Layout.module.css index 66f7856..f68f3a0 100644 --- a/packages/chronicle/src/themes/default/Layout.module.css +++ b/packages/chronicle/src/themes/default/Layout.module.css @@ -101,13 +101,11 @@ color: var(--rs-color-foreground-base-primary); } -/* Apsara's Sidebar.Footer is a column Flex — force a row so the version - switcher and links menu sit at opposite ends. */ +/* Row layout (direction/align/justify) is set via Sidebar.Footer's Flex props, + not here. Apsara's utility classes and this module have equal specificity, so + overriding from CSS would depend on stylesheet order — which differs between + dev and the production bundle, and silently loses in prod. */ .sidebarFooter { - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; gap: var(--rs-space-3); height: var(--navbar-height); box-sizing: border-box; @@ -345,6 +343,25 @@ border-top: 0.5px solid var(--rs-color-border-base-primary); } +/* With no `versions` configured, VersionSwitcher renders `latest.label` as a + bare . Left as-is it reads as loose text under the full-width link + rows, so match Sidebar.Item's metrics and make it a proper footer row. The + versioned case renders a