Skip to content

Commit

Permalink
Betre handtering av tabellar på småe skjermar
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Aug 29, 2024
1 parent 8af1342 commit 807a095
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions assets/js/langtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 807a095

Please sign in to comment.