Use correct rows for tooltip ETA/status

This commit is contained in:
Nils Maier 2019-09-14 00:00:20 +02:00
parent 4b09a0db67
commit 71d98bc603
2 changed files with 7 additions and 2 deletions

View File

@ -530,6 +530,11 @@ body > * {
background: var(--done-color);
}
#tooltip-eta.single {
font-weight: bold;
grid-column-end: span 2;
}
.deletefiles-list {
padding-left: 1ex;
padding-right: 1.5ex;

View File

@ -192,7 +192,7 @@ export class Tooltip {
const hidden = this.speedbox.classList.contains("hidden");
if (!running && !hidden) {
this.eta.style.fontWeight = "bold";
this.eta.classList.add("single");
this.etalabel.classList.add("hidden");
this.speedbox.classList.add("hidden");
this.progressbar.classList.add("hidden");
@ -202,7 +202,7 @@ export class Tooltip {
return;
}
if (hidden) {
this.eta.style.fontWeight = "auto";
this.eta.classList.remove("single");
this.etalabel.classList.remove("hidden");
this.speedbox.classList.remove("hidden");
this.progressbar.classList.remove("hidden");