Make Remove button square with btn-sm btn-square

This commit is contained in:
2026-07-06 13:10:09 +02:00
parent 49e1efd363
commit 7933abc5cf
@@ -73,13 +73,12 @@
</div> </div>
</td> </td>
<td> <td>
<button class="btn btn-ghost btn-xs" style="color:var(--er)" <button class="btn btn-ghost btn-sm btn-square" style="color:var(--er)"
hx-delete="/api/artists/{artist.mbid}" hx-delete="/api/artists/{artist.mbid}"
hx-target="#artist-list" hx-target="#artist-list"
hx-swap="innerHTML" hx-swap="innerHTML"
onclick="return confirm('Remove {artist.name}?')"> onclick="return confirm('Remove {artist.name}?')">
<svg class="icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2"/></svg> <svg class="icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2"/></svg>
Remove
</button> </button>
</td> </td>
</tr> </tr>