We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4dc63 commit 1160c1eCopy full SHA for 1160c1e
src/components/editor2/operator/OperatorItem.tsx
@@ -340,7 +340,7 @@ export const OperatorItem: FC<OperatorItemProps> = memo(
340
buttonPosition="none"
341
value={skillLevel <= 7 ? skillLevel : ''} // 大于 7 级时置空然后用 padding 占位,以留出空间在上面放置专精图标
342
inputClassName={clsx(
343
- '!w-8 h-8 !p-0 !leading-8 !bg-transparent text-center font-bold text-xl !text-inherit !rounded-none !border-2 !border-current cursor-pointer focus:cursor-text',
+ '!w-8 h-8 !p-0 !leading-8 !bg-transparent text-center font-bold text-xl !text-inherit !rounded-none !border-2 !border-current [&:not(:focus)]:cursor-pointer',
344
skillLevel > 7 && '!pl-4',
345
)}
346
onFocus={() => {
0 commit comments