From 7bb857a17a8e32d0374d8d50c87cd2f8b7406bfe Mon Sep 17 00:00:00 2001 From: Sainan Date: Mon, 20 Jan 2025 12:35:26 +0100 Subject: [PATCH] fix(webui): disable text wrapping for action column --- static/webui/script.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/webui/script.js b/static/webui/script.js index eeeab7ce..cc679c21 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -234,7 +234,7 @@ function updateInventory() { } { const td = document.createElement("td"); - td.classList = "text-end"; + td.classList = "text-end text-nowrap"; const maxXP = category == "Suits" || category == "SpaceSuits" || @@ -334,7 +334,7 @@ function updateInventory() { } { const td = document.createElement("td"); - td.classList = "text-end"; + td.classList = "text-end text-nowrap"; { const a = document.createElement("a"); a.href = @@ -379,7 +379,7 @@ function updateInventory() { } { const td = document.createElement("td"); - td.classList = "text-end"; + td.classList = "text-end text-nowrap"; if (rank < maxRank) { const a = document.createElement("a"); a.href = "#"; @@ -421,7 +421,7 @@ function updateInventory() { } { const td = document.createElement("td"); - td.classList = "text-end"; + td.classList = "text-end text-nowrap"; { const a = document.createElement("a"); a.href = "#"; @@ -481,7 +481,7 @@ function updateInventory() { } { const td = document.createElement("td"); - td.classList = "text-end"; + td.classList = "text-end text-nowrap"; { const a = document.createElement("a"); a.href = "#";