Skip to content

Commit 7baa08f

Browse files
authored
Merge pull request #7094 from uinstinct/tool-select-none
style: prevent text selection when double clicking tool policy
2 parents a5d11ff + 51c365c commit 7baa08f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui/src/components/mainInput/Lump/sections/tool-policies/ToolPolicyItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function ToolPolicyItem(props: ToolDropdownItemProps) {
118118
</div>
119119

120120
<div
121-
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"}`}
121+
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"}`}
122122
data-testid={`tool-policy-item-${props.tool.function.name}`}
123123
data-tooltip-id={disabled ? disabledTooltipId : undefined}
124124
onClick={

0 commit comments

Comments
 (0)