diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css
index e9a20ae4..e49f059b 100644
--- a/copyparty/web/browser.css
+++ b/copyparty/web/browser.css
@@ -2040,6 +2040,7 @@ html.y #ops svg circle {
}
#pathBar input[type=text],
.opview select,
+.opview input[type=number],
.opview input[type=text],
.opview input[type=color],
.opview input[type=date] {
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 289c9de6..05078e50 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -1314,7 +1314,7 @@ ebi('op_cfg').innerHTML = (
' ' +
' ' +
' ' +
-' ' +
+' ' +
' 🥳\n' +
' \n' +
'\n' +
@@ -1527,10 +1527,9 @@ ebi('radius').oninput = function () {
if(r === radius)
return;
- if(isNaN(r))
- r = ''
- swrite('radius', r);
- var setV = this.value == '' ? '' : (r + 'px');
+ var usefallback = isNaN(r) || r < 0 || r === '';
+ var setV = usefallback ? '' : (r + 'px');
+ swrite('radius', !usefallback && r);
document.documentElement.style.setProperty('--radius', setV);
console.log(setV);
}