fix(buchung): Buchen-Button in der Wochenansicht immer sichtbar
Bei Tagen mit Eintraegen war der Button nur beim Hovern sichtbar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
be5beabab0
commit
6ae5a01bda
@@ -107,9 +107,7 @@ export const WeekView: React.FC<Props> = ({ from, entries, readOnly, dailyTarget
|
|||||||
{!readOnly && (
|
{!readOnly && (
|
||||||
<button
|
<button
|
||||||
onClick={() => onAdd(date)}
|
onClick={() => onAdd(date)}
|
||||||
className={`mt-auto flex items-center justify-center gap-1 rounded-xl border border-dashed border-ink-200 py-2 text-xs font-bold text-ink-400 transition hover:border-brand-300 hover:bg-brand-50 hover:text-brand-700 ${
|
className="mt-auto flex items-center justify-center gap-1 rounded-xl border border-dashed border-ink-200 py-2 text-xs font-bold text-ink-400 transition hover:border-brand-300 hover:bg-brand-50 hover:text-brand-700"
|
||||||
list.length ? 'opacity-0 group-hover:opacity-100 focus:opacity-100' : ''
|
|
||||||
}`}
|
|
||||||
>
|
>
|
||||||
<Icon name="plus" className="h-3.5 w-3.5" strokeWidth={2.4} />
|
<Icon name="plus" className="h-3.5 w-3.5" strokeWidth={2.4} />
|
||||||
Buchen
|
Buchen
|
||||||
|
|||||||
Reference in New Issue
Block a user