fix(client): fold the Context main row earlier
This commit is contained in:
1 parent
52c3b0f824
commit
507336ff94
2 files changed
+4
-1
No files matched your search
@@ -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}
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in new issue
Block a user