From c666d7f93af18f5b2bc8134ec5e58394342916a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Bene=C5=A1?= Date: Fri, 7 Aug 2026 13:27:35 +0200 Subject: [PATCH] Air between what is running and the button that checks The Check the remote button sat flush against the version and commit above it, so the two read as one block. Keyed on the list not being last rather than on the sibling's class: three different things follow it there depending on the host's state -- the button, the version-mismatch alert, the not-a-checkout hint -- and enumerating them is how the fourth gets missed. Co-Authored-By: Claude Opus 5 (1M context) --- CHANGELOG.md | 5 +++++ src/lembas/__init__.py | 2 +- src/lembas/web/static/css/admin.css | 7 +++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85e947a..3bf548d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,11 @@ for 1.0.0 have something to be assembled from. ## Unreleased +## 0.9.11 + +- The Updates page no longer runs the **Check the remote** button flush against + the version and commit above it, where the two read as one block. + ## 0.9.10 **The second audit pass: screens that were harder to use than they needed to diff --git a/src/lembas/__init__.py b/src/lembas/__init__.py index 1e526cb..8fdb4e5 100644 --- a/src/lembas/__init__.py +++ b/src/lembas/__init__.py @@ -1,3 +1,3 @@ """LLeMbas - a Middle-earth themed web UI for OpenAI-compatible LLM endpoints.""" -__version__ = "0.9.10" +__version__ = "0.9.11" diff --git a/src/lembas/web/static/css/admin.css b/src/lembas/web/static/css/admin.css index 9f9af39..cd84fad 100644 --- a/src/lembas/web/static/css/admin.css +++ b/src/lembas/web/static/css/admin.css @@ -532,6 +532,13 @@ a.tabs__tab { text-decoration: none; } /* --- The permission modes, explained on the agents page ------------------- */ .mode-list { margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); } +/* Whatever follows the list inside a card needs air -- on /admin/updates that is + the "Check the remote" button, and it sat flush against the last row as + though it were one. Keyed on *not being last* rather than on the sibling's + class, because three different things follow it there depending on the + host's state (the button, the version-mismatch alert, the not-a-checkout + hint) and enumerating them is how the fourth one gets missed. */ +.mode-list:not(:last-child) { margin-bottom: var(--sp-5); } .mode-list__row { display: flex; gap: var(--sp-3); align-items: baseline; } .mode-list__row dt { flex: 0 0 5rem; color: var(--ink); } .mode-list__row dd { margin: 0; color: var(--ink-muted); font-size: var(--text-sm); }