diff --git a/html/index.js b/html/index.js
index 2a21fe3..f4fc5e4 100644
--- a/html/index.js
+++ b/html/index.js
@@ -443,10 +443,13 @@ async function clickCount() {
}
}
function ppVotes(v) {
- result = parseFloat(v).toFixed(ppDPs);
+ let result = parseFloat(v).toFixed(ppDPs);
if (parseFloat(result) == 0) {
return ' '
}
+ if (result.indexOf('.') >= 0) {
+ result = result.substring(0, result.indexOf('.')) + '' + result.substring(result.indexOf('.')) + '';
+ }
return result;
}
}
diff --git a/html/main.css b/html/main.css
index a9f3f7b..05f74a5 100644
--- a/html/main.css
+++ b/html/main.css
@@ -65,6 +65,10 @@ td {
td.count {
text-align: right;
}
+td.count sup {
+ font-size: 0.6rem;
+ top: 0;
+}
tr:first-child td {
vertical-align: bottom;
}