From 832c6e1603302e4d3d04a661cdfcb7b11a537fa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20J=C4=99drzejewski?= Date: Wed, 27 Sep 2023 11:29:27 +0200 Subject: [PATCH] Fixed word breaking --- frontend/gfx/ingame.css | 1 + frontend/gfx/ingame.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/gfx/ingame.css b/frontend/gfx/ingame.css index 38f3c3d..8936beb 100644 --- a/frontend/gfx/ingame.css +++ b/frontend/gfx/ingame.css @@ -330,6 +330,7 @@ body { background: -webkit-linear-gradient(#978867, #464030); -webkit-background-clip: text; -webkit-text-fill-color: transparent; + white-space: nowrap; } #tournament .phase { diff --git a/frontend/gfx/ingame.js b/frontend/gfx/ingame.js index 1f49f8b..425a5a2 100644 --- a/frontend/gfx/ingame.js +++ b/frontend/gfx/ingame.js @@ -639,7 +639,7 @@ function updateSettings(e) { } if (e.showTournament !== showTournament) { showTournament = e.showTournament - document.querySelector('#tournament').style.display = e.showTournament ? 'block' : 'none' + document.querySelector('#tournament').style.display = e.showTournament ? 'flex' : 'none' } if (showScoreBoard !== e.scoreboard.active) {