From 57f9893c2ecb9d62059d5c6dd20d2c0789fb0f2b Mon Sep 17 00:00:00 2001 From: "pro.boooooo" Date: Sat, 11 Mar 2023 15:59:02 +0100 Subject: [PATCH] $ --- src/components/global/api/View.js | 4 +--- src/components/global/etablanalytics/etablanalytics.riot | 5 ++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/global/api/View.js b/src/components/global/api/View.js index 4d4b63f..6142cd3 100644 --- a/src/components/global/api/View.js +++ b/src/components/global/api/View.js @@ -105,9 +105,7 @@ export default class View { let td5 = document.createElement("td") td5.innerText = `(${selection}%)` td5.style.display = "flex" - td5.style.justifyContent = "center" - td5.style.alignItems = "center" - td5.style.gap = "1.3vw" + td5.style.gap = "1vw" let progresstd5 = document.createElement("progress") progresstd5.setAttribute("max", "100") diff --git a/src/components/global/etablanalytics/etablanalytics.riot b/src/components/global/etablanalytics/etablanalytics.riot index 1464c46..c62c029 100644 --- a/src/components/global/etablanalytics/etablanalytics.riot +++ b/src/components/global/etablanalytics/etablanalytics.riot @@ -10,11 +10,11 @@ #etablanalytics #etablanalytics-list { + table-layout: fixed; font-size: 17px; color: white; font-weight: bold; text-align: center; - width: 100%; } #etablanalytics @@ -35,6 +35,9 @@ text-align: center; font-size: 16px; color: white; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; }