feat: add max height to notification dropdown for better usability
This commit is contained in:
parent
93e69932e7
commit
6663aca156
@ -161,7 +161,7 @@ export function NotificationBell() {
|
|||||||
<span className="sr-only">Notifikasi</span>
|
<span className="sr-only">Notifikasi</span>
|
||||||
</Button>
|
</Button>
|
||||||
</DropdownMenuTrigger>
|
</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">
|
<div className="flex items-center justify-between border-b px-4 py-2">
|
||||||
<span className="text-sm font-semibold">Notifikasi</span>
|
<span className="text-sm font-semibold">Notifikasi</span>
|
||||||
{unreadCount > 0 && (
|
{unreadCount > 0 && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user