WIP: edge UI style

This commit is contained in:
2025-06-16 22:41:32 -07:00
parent 2e465b69af
commit fdf59d5c0d
3 changed files with 7 additions and 10 deletions

View File

@@ -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