Skip to content

Commit 930880e

Browse files
committed
TimeTable - removed nowbar height overflow
1 parent 1a8e00d commit 930880e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/components/timetable/TimeTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ function moveNowBar(
674674
const diffPerc = diffNow / timeSlotMinutes
675675
nowBar.style.left = `${diffPerc * 100}%`
676676
nowBar.style.top = "100%"
677-
nowBar.style.height = `${tableBody.getBoundingClientRect().bottom - nowTimeSlotCell.getBoundingClientRect().top}px`
677+
nowBar.style.height = `${tableBody.getBoundingClientRect().bottom - nowTimeSlotCell.getBoundingClientRect().top - nowTimeSlotCell.clientHeight}px`
678678

679679
nowTimeSlotCell.classList.remove(
680680
"border-b-border-bold",

0 commit comments

Comments
 (0)