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>
</button>
</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
type="button"
onClick={() => onHideEntry(item.id)}
@@ -342,7 +343,7 @@ const DashboardView = ({
<button
type="button"
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"
>
<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>
</button>
)}
</div>
</td>
</tr>
);