[O] Make numbers unselectable

This commit is contained in:
2024-12-15 22:32:19 -05:00
parent c43ba52aa5
commit bb7dd271c5
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ const N = ({className, value, setNum, editorMode, ...props}) => {
return (<span className={multiStyles(styles, ["number", className])} {...props}>
{editorMode && <input
disabled
onChange={(e) => setNum(parseInt(e.target.value))}
value={v}
/> || v}
+1
View File
@@ -191,6 +191,7 @@ $animationFillMode: forwards;
justify-content: center;
height: $edgeLength;
width: $edgeLength;
user-select: none;
.invalid {
color: $invalidColor;