Merge pull request #7094 from uinstinct/tool-select-none
style: prevent text selection when double clicking tool policy
This commit is contained in:
commit
7baa08f280
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ function ToolPolicyItem(props: ToolDropdownItemProps) {
|
|||
</div>
|
||||
|
||||
<div
|
||||
className={`flex w-8 flex-row items-center justify-end gap-2 px-2 py-0.5 sm:w-16 ${disabled ? "cursor-not-allowed" : "hover:text-list-active-foreground cursor-pointer hover:brightness-125"}`}
|
||||
className={`flex w-8 select-none flex-row items-center justify-end gap-2 px-2 py-0.5 sm:w-16 ${disabled ? "cursor-not-allowed" : "hover:text-list-active-foreground cursor-pointer hover:brightness-125"}`}
|
||||
data-testid={`tool-policy-item-${props.tool.function.name}`}
|
||||
data-tooltip-id={disabled ? disabledTooltipId : undefined}
|
||||
onClick={
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue