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:
@@ -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,
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user