Some workout management tests fixed with Antigravity
This commit is contained in:
@@ -377,6 +377,7 @@ const Plans: React.FC<PlansProps> = ({ lang }) => {
|
||||
onClick={(e) => handleDelete(plan.id, e)}
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
aria-label="Delete Plan"
|
||||
className="text-on-surface-variant hover:text-error hover:bg-white/5"
|
||||
>
|
||||
<Trash2 size={20} />
|
||||
@@ -387,6 +388,7 @@ const Plans: React.FC<PlansProps> = ({ lang }) => {
|
||||
onClick={(e) => { e.stopPropagation(); handleEdit(plan); }}
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
aria-label="Edit Plan"
|
||||
className="text-on-surface-variant hover:text-primary hover:bg-white/5"
|
||||
>
|
||||
<Edit2 size={20} />
|
||||
@@ -415,6 +417,7 @@ const Plans: React.FC<PlansProps> = ({ lang }) => {
|
||||
{/* FAB */}
|
||||
<button
|
||||
onClick={handleCreateNew}
|
||||
aria-label="Create Plan"
|
||||
className="absolute bottom-6 right-6 w-14 h-14 bg-primary-container text-on-primary-container rounded-[16px] shadow-elevation-3 flex items-center justify-center hover:bg-primary hover:text-on-primary transition-colors z-20"
|
||||
>
|
||||
<Plus size={28} />
|
||||
|
||||
Reference in New Issue
Block a user