From 23673cec8e05970f96681eac733285732cf09e1c Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Tue, 2 Jul 2024 12:06:03 -0700
Subject: WIP: edge UI style
---
src/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src')
diff --git a/src/index.js b/src/index.js
index 07dffa0..efc6784 100644
--- a/src/index.js
+++ b/src/index.js
@@ -92,7 +92,7 @@ function clearMoveEndedIndicators(records) {
function distance(count = '-') {
distanceOutput.querySelector('#hex-count').textContent = count;
- distanceOutput.style.visibility = count === '-' ? 'hidden' : 'visible';
+ distanceOutput.style.display = count === '-' ? 'none' : 'inline';
}
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random#getting_a_random_integer_between_two_values_inclusive
--
cgit v1.2.3