fix: nested context menu UI (#8367)

This commit is contained in:
Aaryan Khandelwal 2025-12-17 20:46:10 +05:30 committed by GitHub
parent 508e332a23
commit 4cac953cd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 13 deletions

View file

@ -21,12 +21,7 @@ export function TransferIssues(props: Props) {
{canTransferIssues && (
<div>
<Button
variant="primary"
prependIcon={<TransferIcon color="white" />}
onClick={handleClick}
disabled={disabled}
>
<Button variant="primary" size="lg" prependIcon={<TransferIcon />} onClick={handleClick} disabled={disabled}>
Transfer work items
</Button>
</div>

View file

@ -73,7 +73,7 @@ function BorderButton(props: ButtonProps) {
>
<div
className={cn(
"h-full w-full flex items-center gap-1.5 border-[0.5px] border-strong hover:bg-layer-transparent-hover-lg text-11 px-2 py-0.5 rounded-sm",
"h-full w-full flex items-center gap-1.5 border-[0.5px] border-strong hover:bg-layer-transparent-hover text-11 px-2 py-0.5 rounded-sm",
{
"bg-layer-transparent-active": isActive,
},
@ -98,7 +98,10 @@ function BackgroundButton(props: ButtonProps) {
renderByDefault={renderToolTipByDefault}
>
<div
className={cn("h-full w-full flex items-center gap-1.5 rounded-sm text-11 px-2 py-0.5 bg-layer-3", className)}
className={cn(
"h-full w-full flex items-center gap-1.5 rounded-sm text-11 px-2 py-0.5 bg-layer-3 hover:bg-layer-1-hover",
className
)}
>
{children}
</div>