fix(core): some style issues (#9875)

fix AF-2158, AF-2159

It seems the input hack for modal is no longer needed
This commit is contained in:
pengx17
2025-01-24 05:06:59 +00:00
parent 699da97879
commit 791484a46c
3 changed files with 5 additions and 9 deletions

View File

@@ -96,12 +96,6 @@ export const RulesMode = ({
return (
<>
{/*prevents modal autofocus to the first input*/}
<input
type="text"
style={{ width: 0, height: 0 }}
onFocus={e => requestAnimationFrame(() => e.target.blur())}
/>
<Tooltip content={tips}>
<div className={clsx(styles.rulesTitle, styles.ellipsis)}>{tips}</div>
</Tooltip>