From c07af0e91dacd5fe63d8dd4312ce27f3edaf6e2f Mon Sep 17 00:00:00 2001 From: Sundog Date: Tue, 10 Sep 2024 09:29:59 -0400 Subject: [PATCH] css tweaks --- layout.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/layout.html b/layout.html index 2480195..96b1bb2 100644 --- a/layout.html +++ b/layout.html @@ -75,7 +75,7 @@ } #upload_target { - position: absolute; + position: fixed; bottom: 3vh; left: 0; width: 25vw; @@ -173,6 +173,7 @@ #schedule_grid { border: 2px solid white; width: 100%; + max-height: 52vh; } #schedule_grid td { @@ -656,6 +657,10 @@ template_clone.firstElementChild.setAttribute('data-time', hour + ":" + minutes); grid.appendChild(template_clone); } + + // TODO: fetch schedule info from api and populate, if it exists for the requested day + // TODO: register click handler on schedule cells to open 'add block' dialog + // TODO: register click handler on block cells to open 'edit block' dialog } const previous_day_schedule = (e) => {