mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-11 22:51:26 +00:00
fix: resolve checkpoint menu popover overflow (#8867)
This commit is contained in:
parent
7926dcf00e
commit
cff65b4f5e
2 changed files with 6 additions and 2 deletions
|
|
@ -173,7 +173,7 @@ export const CheckpointMenu = ({ ts, commitHash, checkpoint, onOpenChange }: Che
|
|||
</Button>
|
||||
</PopoverTrigger>
|
||||
</StandardTooltip>
|
||||
<PopoverContent align="end" container={portalContainer}>
|
||||
<PopoverContent align="end" container={portalContainer} className="w-auto min-w-max">
|
||||
<div className="flex flex-col gap-2">
|
||||
<Button
|
||||
variant="secondary"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,11 @@ vi.mock("@/components/ui", () => {
|
|||
)
|
||||
},
|
||||
PopoverTrigger: ({ children }: any) => <div data-testid="popover-trigger">{children}</div>,
|
||||
PopoverContent: ({ children }: any) => <div data-testid="popover-content">{children}</div>,
|
||||
PopoverContent: ({ children, className, ...rest }: any) => (
|
||||
<div data-testid="popover-content" className={className} {...rest}>
|
||||
{children}
|
||||
</div>
|
||||
),
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue