Skip to content

Commit

Permalink
improved splits display
Browse files Browse the repository at this point in the history
space
  • Loading branch information
yikuansun committed Jan 28, 2021
1 parent e8f6c40 commit e5823aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions window/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ function fillsplits() {
row = document.createElement("tr");
splitname = document.createElement("td");
splitname.innerText = split.name;
splitname.style.width = "25%";
splitname.style.width = "32.5%";
row.appendChild(splitname);
goaltime = document.createElement("td");
goaltime.innerText = formatTime(split.time);
goaltime.style.width = "25%";
goaltime.style.width = "22.5%";
row.appendChild(goaltime);
realtime = document.createElement("td");
realtime.innerText = "";
realtime.style.width = "50%";
realtime.style.width = "45%";
realtime.setAttribute("class", "splittimes");
realtime.dataset.goal = split.time;
row.appendChild(realtime);
Expand Down
2 changes: 1 addition & 1 deletion window/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ body {
}

#splits td {
text-overflow: ellipsis;
text-overflow: hidden;
white-space: nowrap;
overflow: hidden;
display: inline-block;
Expand Down

0 comments on commit e5823aa

Please sign in to comment.