Add dropdown backdrop

This commit is contained in:
Ategon 2025-01-20 01:02:02 -05:00
parent b11ad9354b
commit aefb9e2018
3 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@ interface NavbarUserProps {
export default function PCNavbarUser({ user }: NavbarUserProps) { export default function PCNavbarUser({ user }: NavbarUserProps) {
return ( return (
<NavbarItem> <NavbarItem>
<Dropdown> <Dropdown backdrop="opaque">
<DropdownTrigger> <DropdownTrigger>
<Avatar <Avatar
src={user.profilePicture} src={user.profilePicture}

View file

@ -145,7 +145,7 @@ export default function PostCard({
> >
<MessageCircle size={16} /> {0} <MessageCircle size={16} /> {0}
</Button> </Button>
<Dropdown> <Dropdown backdrop="opaque">
<DropdownTrigger> <DropdownTrigger>
<Button size="sm" variant="bordered" isIconOnly> <Button size="sm" variant="bordered" isIconOnly>
<MoreVertical size={16} /> <MoreVertical size={16} />

View file

@ -177,7 +177,7 @@ export default function Posts() {
<div> <div>
<div className="flex justify-between p-4 pb-0"> <div className="flex justify-between p-4 pb-0">
<div className="flex gap-2"> <div className="flex gap-2">
<Dropdown> <Dropdown backdrop="opaque">
<DropdownTrigger> <DropdownTrigger>
<Button <Button
size="sm" size="sm"
@ -204,7 +204,7 @@ export default function Posts() {
))} ))}
</DropdownMenu> </DropdownMenu>
</Dropdown> </Dropdown>
<Dropdown> <Dropdown backdrop="opaque">
<DropdownTrigger> <DropdownTrigger>
<Button <Button
size="sm" size="sm"
@ -243,7 +243,7 @@ export default function Posts() {
</Button> </Button>
</div> </div>
<div> <div>
<Dropdown> <Dropdown backdrop="opaque">
<DropdownTrigger> <DropdownTrigger>
<Button <Button
size="sm" size="sm"