fix(frontend): restore no-sidebar two-column list pairing

The homepage utility .flex { display: flex !important } out-ranked the
legacy wide-mode rule .site-layout-1 .posts-item:not(.card)
{ display: inline-flex; width: calc(50% - 16px) }, so with the sidebar
collapsed (no widgets) every list item rendered at half width stacked
into one column with an empty right half.

Zibll's .flex utility carries no !important; drop it so the wide-mode
rule wins the cascade, and regenerate the CSS bundles.

Verification: node --test tests/widget-system/*.test.cjs (242/243, the
toast-contract failure is pre-existing); rebuilt bundle contains no
display:flex!important on .flex.
This commit is contained in:
2026-09-05 16:04:23 +08:00
parent 620a625a72
commit 5b89fc200b
3 changed files with 11 additions and 3 deletions
+5 -1
View File
@@ -1393,7 +1393,11 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
}
.flex {
display: flex !important;
/* No !important: the site-layout-1 / fluid-widget-wrap wide-mode rule
(.posts-item:not(.card) { display: inline-flex }) must out-rank this
utility or the no-sidebar two-column pairing collapses back to
half-width stacked rows. */
display: flex;
}
.flex.xx,
+1 -1
View File
File diff suppressed because one or more lines are too long
+5 -1
View File
@@ -502,7 +502,11 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
}
.flex {
display: flex !important;
/* No !important: the site-layout-1 / fluid-widget-wrap wide-mode rule
(.posts-item:not(.card) { display: inline-flex }) must out-rank this
utility or the no-sidebar two-column pairing collapses back to
half-width stacked rows. */
display: flex;
}
.flex.xx,