Fixed visual bugs on header

This commit is contained in:
Lucas Oliveira 2023-06-15 09:03:51 -03:00
commit 39926381f1
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ export const MenuBar = ({ flows, tabId }) => {
<div className="flex items-center font-medium text-sm rounded-md py-1 px-1.5 gap-0.5"> <div className="flex items-center font-medium text-sm rounded-md py-1 px-1.5 gap-0.5">
<DropdownMenu> <DropdownMenu>
<DropdownMenuTrigger> <DropdownMenuTrigger>
<Button className="gap-2 flex items-center" variant="primary"> <Button className="gap-2 flex items-center" variant="primary" size="sm">
{current_flow.name} {current_flow.name}
<ChevronDown className="w-4 h-4" /> <ChevronDown className="w-4 h-4" />
</Button> </Button>

View file

@ -15,7 +15,7 @@ const buttonVariants = cva(
"border border-input hover:bg-accent hover:text-accent-foreground", "border border-input hover:bg-accent hover:text-accent-foreground",
primary: primary:
"border bg-background text-secondary-foreground hover:bg-background/80 hover:shadow-sm", "border bg-background text-secondary-foreground hover:bg-background/80 hover:shadow-sm",
secondary: "bg-muted text-secondary-foreground hover:bg-secondary/80", secondary: "border border-muted bg-muted text-secondary-foreground hover:bg-secondary/80",
ghost: "hover:bg-accent hover:text-accent-foreground", ghost: "hover:bg-accent hover:text-accent-foreground",
link: "underline-offset-4 hover:underline text-primary", link: "underline-offset-4 hover:underline text-primary",
}, },