fix(client): fold the Context main row earlier

This commit is contained in:
Bowen Liang committed 2026-09-09 02:43:25 +08:00
1 parent 52c3b0f824
commit 507336ff94
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -371,7 +371,7 @@ export function makeContextView(
<PluginInfo />
</div>
<div className="lc-cols">
<div className="lc-cols lc-cols-main">
<div className="lc-col">
<CurrentComposition
head={head}
+3
View File
@@ -71,6 +71,9 @@
.lc-cols { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
/* min() caps the column floor at the row's own width: on a sub-280px pane (phone rail + padding) the column narrows instead of overflowing. */
.lc-col { flex: 1; min-width: min(280px, 100%); }
/* The main row (Current Context + Trend | Context browser) folds earlier than the shared floor: both columns read
cramped at 280px, so the row needs 2 x 360px + the 7px gap before it stays side by side. */
.lc-cols-main > .lc-col { min-width: min(360px, 100%); }
.lc-cols > .lc-card { margin-bottom: 0; }
.lc-col > .lc-card:last-child { margin-bottom: 0; }
.lc-col-browser { display: flex; flex-direction: column; }