Skip to content

Commit e276421

Browse files
committed
fix(editor2): incorrect size of mastery icon on Firefox
1 parent 1160c1e commit e276421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/editor2/operator/OperatorItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ export const OperatorItem: FC<OperatorItemProps> = memo(
422422
/>
423423
{skillLevel > 7 && (
424424
<MasteryIcon
425-
className="absolute top-0 bottom-0 left-0 right-0 p-2 pointer-events-none"
425+
className="absolute top-0 left-0 w-full h-full p-2 pointer-events-none"
426426
mastery={skillLevel - 7}
427427
/>
428428
)}

0 commit comments

Comments
 (0)