From 30502d83241731a710e85bbe47a18cab589a4f8d Mon Sep 17 00:00:00 2001 From: NovakPAai Date: Sun, 2 Aug 2026 10:00:36 +0300 Subject: [PATCH] fix: unbalanced
broke Projects launcher card layout The missing-folder-detection refactor added the launcher-card-actions wrapper only for the missing-folder branch, but left the pre-existing closing
in the normal (folder-exists) branch without ever opening it. The unbalanced markup made every action button/select render as a direct flex-column child of .launcher-card, stretching each one to full card width on its own row instead of a compact action row. Also brings the '; } if (projInfo.manualId) { - html += ''; + html += ''; } html += ''; diff --git a/src/frontend/styles.css b/src/frontend/styles.css index ca847ad..1204ef8 100644 --- a/src/frontend/styles.css +++ b/src/frontend/styles.css @@ -4650,15 +4650,29 @@ body[data-view="overview"] .toolbar { display: none; } [data-theme="light"] .launcher-card-actions .split-btn .new-btn { border-right-color: rgba(0, 0, 0, 0.2); } -.launcher-card-actions button.git-project-launch-btn { +.launcher-card-actions .git-project-launch-btn { margin: 0; padding: 6px 12px; font-size: 12px; } -.launcher-card-actions button.git-project-launch-btn:focus-visible { +.launcher-card-actions .git-project-launch-btn:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; } +.launcher-card-actions select.git-project-launch-btn { + padding-right: 8px; +} +/* Remove is destructive-but-rare — push it to the end of the row and keep it + visually quiet so it doesn't compete with the launch/resume actions. */ +.launcher-card-actions .remove-btn { + margin-left: auto; + color: var(--text-muted); + padding: 6px 9px; +} +.launcher-card-actions .remove-btn:hover { + color: var(--accent-red, #f87171); + border-color: var(--accent-red, #f87171); +} .launcher-card-link { margin-top: auto; font-size: 11px;