mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 10:33:01 +00:00
improved dropdown styling
This commit is contained in:
@@ -97,8 +97,8 @@ function DropdownMenuItem({
|
||||
"data-[variant=destructive]:focus:text-destructive",
|
||||
"data-[variant=destructive]:*:[svg]:!text-destructive",
|
||||
"[&_svg:not([class*='text-'])]:text-foreground relative",
|
||||
"flex w-full cursor-pointer items-center gap-2 py-1.5 pr-8 pl-2",
|
||||
"px-2 py-1.5 text-sm outline-hidden select-none",
|
||||
"flex w-full cursor-pointer items-center gap-2",
|
||||
"px-2 py-1 text-sm outline-hidden select-none",
|
||||
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
||||
"data-[inset]:pl-8 [&_svg]:pointer-events-none",
|
||||
"[&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
||||
@@ -182,7 +182,7 @@ function DropdownMenuLabel({
|
||||
<DropdownMenuPrimitive.Label
|
||||
data-slot="dropdown-menu-label"
|
||||
data-inset={inset}
|
||||
className={cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className)}
|
||||
className={cn("px-2 py-0 text-sm font-medium data-[inset]:pl-8", className)}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user