Update table presentation.

This commit is contained in:
yukirij 2024-08-27 18:25:23 -07:00
parent 8353836c87
commit ea733b8f47
2 changed files with 18 additions and 9 deletions

View File

@ -17,8 +17,9 @@ main>table.list th{
border-bottom:1px solid #404040;
}
main>table.list td{
width:1px;
height:100%;
padding:0 1rem 0 1rem;
padding:0 2rem 0 2rem;
text-align:center;
@ -26,15 +27,23 @@ main>table.list td{
background-color:#303030;
color:#f0f0f0;
border-right: 1px solid #383838;
}
main>table.list td:last-child{
display:flex;
flex-flow:row nowrap;
align-items:flex-start;
justify-content:flex-end;
width: 100%;
width:auto;
border: 0;
}
main>table.list.session td:nth-child(1){ width:10rem; }
main>table.list.session td:nth-child(2){ width:10rem; }
main>table.list.challenge td:nth-child(2){ width:10rem; }
main>table.list td:last-child>button{
display:block;
position:relative;

View File

@ -208,7 +208,7 @@ const SCENES = {
let table = document.createElement("table");
table.setAttribute("id", "content");
table.setAttribute("class", "list");
table.setAttribute("class", "list session");
MAIN.appendChild(table);
SCENE.refresh();
@ -259,7 +259,7 @@ const SCENES = {
let table = document.createElement("table");
table.setAttribute("id", "content");
table.setAttribute("class", "list");
table.setAttribute("class", "list session");
MAIN.appendChild(table);
SCENE.refresh();
@ -364,7 +364,7 @@ const SCENES = {
let table = document.createElement("table");
table.setAttribute("id", "content");
table.setAttribute("class", "list");
table.setAttribute("class", "list session");
MAIN.appendChild(table);
SCENE.refresh();
@ -413,7 +413,7 @@ const SCENES = {
let table = document.createElement("table");
table.setAttribute("id", "content");
table.setAttribute("class", "list");
table.setAttribute("class", "list session");
MAIN.appendChild(table);
SCENE.refresh();
@ -656,7 +656,7 @@ const SCENES = {
let table = document.createElement("table");
table.setAttribute("id", "content");
table.setAttribute("class", "list");
table.setAttribute("class", "list challenge");
MAIN.appendChild(table);
SCENE.refresh();
@ -734,7 +734,7 @@ const SCENES = {
let table = document.createElement("table");
table.setAttribute("id", "content");
table.setAttribute("class", "list");
table.setAttribute("class", "list challenge");
MAIN.appendChild(table);
SCENE.refresh();