fabrica

hanna/fabrica

fix(web): group-page UI polish (button height, select arrow, danger card)

dc3b0cf · hanna committed on 2026-07-26

- Match the icon-only settings gear to the height of the "New subgroup" button
  beside it by pinning the icon and line-height to a shared size.
- Give selects extra right padding so the native dropdown arrow isn't flush
  against the border.
- Drop the trailing margin on a lone danger-zone paragraph so a card with no
  delete form carries no extra bottom padding.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed by hannaSSH key fingerprint: SHA256:4g9cWhkAAw8gwqhJUcVbSnGEvdGwklW+1Aa/fMUu59k
1 files changed · +17 −1UnifiedSplit
assets/base.css +17 −1
@@ -736,6 +736,11 @@ body.drawer-open .drawer-backdrop {
736.danger-zone p {736.danger-zone p {
737 margin-top: 0;737 margin-top: 0;
738}738}
739/* When the card holds only an explanatory paragraph (no delete form), drop the
740 trailing margin so the card doesn't carry extra bottom padding. */
741.danger-zone p:last-child {
742 margin-bottom: 0;
743}
739744
740/* Collaborators: a bordered list inside the card, then an add row. */745/* Collaborators: a bordered list inside the card, then an add row. */
741.collab-list {746.collab-list {
@@ -1196,7 +1201,8 @@ input[type="number"],
1196textarea,1201textarea,
1197select {1202select {
1198 width: 100%;1203 width: 100%;
1199 padding: 0.5rem;1204 /* Extra right padding so the native dropdown arrow isn't flush to the border. */
1205 padding: 0.5rem 0.75rem;
1200 font: inherit;1206 font: inherit;
1201 color: var(--fb-fg);1207 color: var(--fb-fg);
1202 background: var(--fb-bg-inset);1208 background: var(--fb-bg-inset);
@@ -2083,6 +2089,16 @@ pre.code {
2083 align-items: center;2089 align-items: center;
2084 gap: 0.5rem;2090 gap: 0.5rem;
2085}2091}
2092/* Icon-only buttons (e.g. the settings gear) must match the height of the
2093 text buttons beside them: a bare 1em icon is shorter than a text line box, so
2094 pin both the icon and the button's line-height to the same value. */
2095.group-head-actions .btn {
2096 line-height: 1.25rem;
2097}
2098.group-head-actions .btn .icon {
2099 width: 1.25rem;
2100 height: 1.25rem;
2101}
2086/* "forked from owner/repo" line under the repo slug. */2102/* "forked from owner/repo" line under the repo slug. */
2087.fork-note {2103.fork-note {
2088 display: flex;2104 display: flex;