fix: use pencil and trash icons for tap row actions
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m3s
CI / docker (push) Successful in 1m25s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 27s

Replaces text "Edit"/"Del" buttons with pencil and trash can icon
buttons matching the style used elsewhere in the UI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-26 21:32:05 +01:00
parent dd6ea7563f
commit 900b6f45c5
2 changed files with 21 additions and 4 deletions

View File

@@ -329,7 +329,24 @@
.tapActions {
display: flex;
gap: 4px;
gap: 6px;
align-items: center;
}
.tapActionBtn {
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
font-size: 14px;
padding: 2px 4px;
border-radius: var(--radius-sm);
line-height: 1;
transition: color 0.15s;
}
.tapActionBtn:hover {
color: var(--text-primary);
}
/* Tap modal */

View File

@@ -609,11 +609,11 @@ export default function RouteDetail() {
{
key: 'actions' as any,
header: '',
width: '100px',
width: '80px',
render: (_, row) => (
<div className={styles.tapActions}>
<Button variant="ghost" size="sm" onClick={() => openTapModal(row)}>Edit</Button>
<Button variant="ghost" size="sm" onClick={() => setDeletingTap(row)}>Del</Button>
<button className={styles.tapActionBtn} title="Edit" onClick={() => openTapModal(row)}>&#x270E;</button>
<button className={styles.tapActionBtn} title="Delete" onClick={() => setDeletingTap(row)}>&#x1F5D1;</button>
</div>
),
},