Cleaner workout done indication

This commit is contained in:
Mahesh Asolkar 2025-03-30 16:07:32 -07:00
parent 6cfce18819
commit fb4acf962f
Signed by: asolkar
GPG Key ID: 371CA8164433BDCC
2 changed files with 3 additions and 3 deletions

View File

@ -7,6 +7,7 @@ constructor(cont, plan) {
cont.appendChild(wo_cont);
// Inputs to the class. Workout plan and container to display it in
this.arena = cont;
this.container = wo_cont;
this.plan = plan;
@ -261,7 +262,7 @@ update_active_item() {
const wo_done_txt = this.text_element("div", "Workout done!");
wo_done_txt.classList.add("workout-done-txt");
wo_done.appendChild(wo_done_txt);
this.container.appendChild(wo_done);
this.arena.appendChild(wo_done);
}
}

View File

@ -28,8 +28,7 @@ html {
width: 90%;
}
.workout-wrapper.done {
color: #777;
background-color: #eee;
display: none;
}
.workout-wrapper table {