Open snooze dropdown downward in AlertBanner
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0c767317ab
commit
758e794880
@ -34,7 +34,7 @@ export default function AlertBanner({ alerts, onDismiss, onSnooze }: AlertBanner
|
|||||||
<span className="text-[11px] text-muted-foreground shrink-0 whitespace-nowrap">
|
<span className="text-[11px] text-muted-foreground shrink-0 whitespace-nowrap">
|
||||||
{alert.remind_at ? getRelativeTime(alert.remind_at) : ''}
|
{alert.remind_at ? getRelativeTime(alert.remind_at) : ''}
|
||||||
</span>
|
</span>
|
||||||
<SnoozeDropdown onSnooze={(m) => onSnooze(alert.id, m)} label={alert.title} />
|
<SnoozeDropdown onSnooze={(m) => onSnooze(alert.id, m)} label={alert.title} direction="down" />
|
||||||
<button
|
<button
|
||||||
onClick={() => onDismiss(alert.id)}
|
onClick={() => onDismiss(alert.id)}
|
||||||
aria-label={`Dismiss "${alert.title}"`}
|
aria-label={`Dismiss "${alert.title}"`}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user