fix: nested context menu UI (#8367)
This commit is contained in:
parent
508e332a23
commit
4cac953cd1
4 changed files with 14 additions and 13 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue