mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Show a landed git result as its own zone beside the leftover work
AI Assisted
This commit is contained in:
1 parent
899359806a
commit
0454bdd19a
6 files changed
+104
-6
No files matched your search
@@ -472,6 +472,9 @@
|
||||
/* The bar's gap sets the rhythm; the row's own margin is for loop-setup,
|
||||
which has no tail. */
|
||||
.confirm-tail .confirm-actions { margin-top: 0; }
|
||||
/* The Notebook box frames itself, so the rule line is one separation too
|
||||
many when it is on the pane; the shadow still marks the bar in a scroll. */
|
||||
.dash-confirm:has(.confirm-note-box) .confirm-tail { border-top: 0; }
|
||||
|
||||
/* "Start with a note from your Notebook": the switch, then the tabs beside a
|
||||
preview of the picked one, its pictures each with a tick. */
|
||||
|
||||
@@ -128,6 +128,17 @@
|
||||
.git-wait { margin: 0; font-size: 13.5px; color: var(--stage); }
|
||||
.git-fresh { margin: 0; font-size: 13px; color: var(--ink-3); }
|
||||
.git-fresh.is-stale { color: var(--stage); }
|
||||
/* A landed result fills the step strip's place with two zones: the result
|
||||
itself (green, "Just landed") beside the leftover step (muted). The big
|
||||
headline belongs to what happened, not to the work that is not yours. */
|
||||
.git-duo { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; align-items: start; }
|
||||
.git-landed, .git-left { display: grid; gap: 6px; padding: 14px 18px; border-radius: var(--radius); }
|
||||
.git-landed { background: var(--ok-soft); border: 1px solid var(--ok); border-left-width: 4px; }
|
||||
.git-landed .git-step-kicker { color: var(--ok); }
|
||||
.git-landed .git-result-body { font-size: 14px; color: var(--ink-2); }
|
||||
.git-landed .git-result-body .md-p { margin: 0; }
|
||||
.git-left { background: var(--panel-2); border: 1px solid var(--rule-2); }
|
||||
.git-left .git-step-title { font-size: 16px; }
|
||||
.git-panel-tab { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
|
||||
.git-changes, .git-sync { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
|
||||
.git-sweep-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ink-2); }
|
||||
@@ -248,6 +259,7 @@
|
||||
|
||||
/* Last on purpose: the narrow layout overrides the board rules above it. */
|
||||
@container git-board (max-width: 720px) {
|
||||
.git-duo { grid-template-columns: 1fr; }
|
||||
.git-tab-bar { flex-wrap: wrap; }
|
||||
.git-tabs { flex-wrap: wrap; }
|
||||
.git-done { margin: 0 0 6px; }
|
||||
|
||||
Reference in new issue
Block a user