fix update sheet trigger, scrolling

This commit is contained in:
kv
2023-07-27 13:55:43 -07:00
parent 02f16168d3
commit 485b337c72
2 changed files with 2 additions and 4 deletions

View File

@@ -22,9 +22,7 @@ export const DesktopUpdates = () => {
<DropdownMenuContent className="w-[500px]">
<DropdownMenuGroup>
{updates?.map((update) => (
<div className="px-2 py-4 hover:bg-muted transition-colors border-b last:border-none">
<SingleUpdate update={update} />
</div>
<SingleUpdate update={update} />
))}
</DropdownMenuGroup>
</DropdownMenuContent>

View File

@@ -54,7 +54,7 @@ export const UpdateDetails = ({
return (
<Sheet>
<SheetTrigger asChild>{children}</SheetTrigger>
<SheetContent position="right" size="lg">
<SheetContent position="right" size="lg" className="overflow-scroll">
<SheetHeader className="mb-4">
<SheetTitle>
{update.operation