feat: add max height to notification dropdown for better usability

This commit is contained in:
Yoga Pangestu 2026-08-01 12:05:04 +07:00
parent 93e69932e7
commit 6663aca156

View File

@ -161,7 +161,7 @@ export function NotificationBell() {
<span className="sr-only">Notifikasi</span>
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="w-80">
<DropdownMenuContent align="end" className="w-80 max-h-[350px]">
<div className="flex items-center justify-between border-b px-4 py-2">
<span className="text-sm font-semibold">Notifikasi</span>
{unreadCount > 0 && (