refactoring

This commit is contained in:
2025-11-10 15:26:18 +01:00
parent 40819ebaa9
commit de8fa09791

View File

@@ -325,7 +325,8 @@ const DashboardView = ({
<span className="block text-xs text-gray-500">Klicke zum Auswählen</span> <span className="block text-xs text-gray-500">Klicke zum Auswählen</span>
</button> </button>
</td> </td>
<td className="px-4 py-2 text-right space-x-2"> <td className="px-4 py-2 text-right">
<div className="inline-flex items-center justify-end gap-3 whitespace-nowrap">
<button <button
type="button" type="button"
onClick={() => onHideEntry(item.id)} onClick={() => onHideEntry(item.id)}
@@ -342,7 +343,7 @@ const DashboardView = ({
<button <button
type="button" type="button"
onClick={() => onDeleteEntry(item.id)} onClick={() => onDeleteEntry(item.id)}
className="ml-2 text-red-600 hover:text-red-800" className="text-red-600 hover:text-red-800"
title="Löschen" title="Löschen"
> >
<svg xmlns="http://www.w3.org/2000/svg" className="inline h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <svg xmlns="http://www.w3.org/2000/svg" className="inline h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
@@ -350,6 +351,7 @@ const DashboardView = ({
</svg> </svg>
</button> </button>
)} )}
</div>
</td> </td>
</tr> </tr>
); );