We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8e00d commit 930880eCopy full SHA for 930880e
library/src/components/timetable/TimeTable.tsx
@@ -674,7 +674,7 @@ function moveNowBar(
674
const diffPerc = diffNow / timeSlotMinutes
675
nowBar.style.left = `${diffPerc * 100}%`
676
nowBar.style.top = "100%"
677
- nowBar.style.height = `${tableBody.getBoundingClientRect().bottom - nowTimeSlotCell.getBoundingClientRect().top}px`
+ nowBar.style.height = `${tableBody.getBoundingClientRect().bottom - nowTimeSlotCell.getBoundingClientRect().top - nowTimeSlotCell.clientHeight}px`
678
679
nowTimeSlotCell.classList.remove(
680
"border-b-border-bold",
0 commit comments