From 3b4e1423635fd9f33ae760312e438cc1e484662e Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 31 Jul 2026 20:41:05 +0200 Subject: Show the gate before it refuses, and check the destination nodes#show renders publish and trash as disabled_action spans with a hint naming what an editor can still do, matching how locked_by_other already reads. Editing and reverting stay live: drafting is free everywhere. --- public/stylesheets/admin.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 9991fad0..55fdf15d 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css @@ -880,7 +880,9 @@ div.layout_row_content { } .info_group .disabled_action { - display: inline-block; + display: inline-flex; + align-items: center; + gap: 0.35rem; border: 1px solid var(--border); border-radius: 2px; padding: 4px 12px; @@ -889,6 +891,11 @@ div.layout_row_content { cursor: not-allowed; } +.info_group .disabled_action svg { + width: 1.25rem; + height: 1.25rem; +} + .info_group_items { display: flex; flex-wrap: wrap; -- cgit v1.3