From ab049f5ddc7a0bcbbbc2bb2232b307c3ba43ea75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Wed, 2 Sep 2026 06:57:29 +0100 Subject: [PATCH] no border under the last pinned row Whichever it is: Administration is the one row a member never sees, so the row that ends the group depends on who is looking. Naming it would put the line back for everybody else. Co-Authored-By: Claude Opus 5 (1M context) --- web/NavPanel.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/web/NavPanel.tsx b/web/NavPanel.tsx index 41c1374..e7e5b5c 100644 --- a/web/NavPanel.tsx +++ b/web/NavPanel.tsx @@ -317,7 +317,17 @@ export const NavPanel = () => { {/* Separated by the same border the rows use, so it reads as the end of the panel rather than as one more page of the site. `border-t` and not `border-t-2`: it is a divider, not a heading. */} -
+ {/* + The LAST row here has no bottom border, whichever it is. + + `[&>*:last-child]` rather than a check for Administration: it is the one row a member never + sees, so the row that ends this group depends on who is looking. Naming it would put the + border back for everybody else. + + The group already has a border above it; a second one under the final row draws a line against + the bottom of the panel with nothing beneath it. + */} +
{/* Said once, here, rather than on nine dimmed rows. Without it a locked nav reads as broken rather than as one step not done — the rows go grey and nothing says why or what to do. */} {!ready && (