From 807a095dbb6bf55b743e7bfcba869e505792b264 Mon Sep 17 00:00:00 2001 From: Sjur N Moshagen Date: Thu, 29 Aug 2024 23:59:33 +0200 Subject: [PATCH] =?UTF-8?q?Betre=20handtering=20av=20tabellar=20p=C3=A5=20?= =?UTF-8?q?sm=C3=A5e=20skjermar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/langtable.js | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/assets/js/langtable.js b/assets/js/langtable.js index 5fb5e91d..e23054c7 100644 --- a/assets/js/langtable.js +++ b/assets/js/langtable.js @@ -8304,19 +8304,20 @@ function addTableHeader() { let row_1 = document.createElement('tr'); let heading_1 = document.createElement('th'); heading_1.innerHTML = 'Documen­tation'; - heading_1.setAttribute('style', 'width: 24%;'); let heading_2 = document.createElement('th'); heading_2.innerHTML = 'Reposi­tory'; - heading_2.setAttribute('style', 'width: 19%;'); let heading_3 = document.createElement('th'); heading_3.innerHTML = 'License'; - heading_3.setAttribute('style', 'width: 16%;'); + heading_3.setAttribute('style', 'min-width: 15%;'); let heading_4 = document.createElement('th'); - heading_4.innerHTML = 'Issues       '; + heading_4.innerHTML = 'Issues'; + heading_4.setAttribute('style', 'min-width: 15%;'); let heading_5 = document.createElement('th'); - heading_5.innerHTML = 'Doc build   '; + heading_5.innerHTML = 'Doc build'; + heading_5.setAttribute('style', 'min-width: 15%;'); let heading_6 = document.createElement('th'); - heading_6.innerHTML = 'CI Report    '; + heading_6.innerHTML = 'CI Report'; + heading_6.setAttribute('style', 'min-width: 15%;'); row_1.appendChild(heading_1); row_1.appendChild(heading_2); @@ -8627,17 +8628,17 @@ function addGameTableHeader() { let row_1 = document.createElement('tr'); let heading_1 = document.createElement('th'); heading_1.innerHTML = 'Game page'; - heading_1.setAttribute('style', 'width: 24%;'); let heading_2 = document.createElement('th'); heading_2.innerHTML = 'Reposi­tory'; - heading_2.setAttribute('style', 'width: 19%;'); let heading_3 = document.createElement('th'); heading_3.innerHTML = 'License'; - heading_3.setAttribute('style', 'width: 16%;'); + heading_3.setAttribute('style', 'min-width: 15%;'); let heading_4 = document.createElement('th'); - heading_4.innerHTML = 'Issues       '; + heading_4.innerHTML = 'Issues'; + heading_4.setAttribute('style', 'min-width: 15%;'); let heading_5 = document.createElement('th'); - heading_5.innerHTML = 'Game page build'; + heading_5.innerHTML = 'Game page build'; + heading_5.setAttribute('style', 'min-width: 15%;'); row_1.appendChild(heading_1); row_1.appendChild(heading_2);