11:00 – 13:00
@@ -75,8 +75,8 @@ export const WorkWeek = ({ events, selection, setSelection, hideOtherCourses })
14:00 – 16:00
@@ -84,8 +84,8 @@ export const WorkWeek = ({ events, selection, setSelection, hideOtherCourses })
16:00 – 18:00
@@ -109,9 +109,9 @@ export const WorkWeek = ({ events, selection, setSelection, hideOtherCourses })
}
data-event-id={event.data.id}
style={{
- '--start': event.start / 60 - 7,
+ '--start': event.start / 30 - 14,
'--stack': stackIndex + 1,
- '--size': (event.end - event.start) / 60,
+ '--size': (event.end - event.start) / 30,
'--hue':
(Math.abs(hashString('seed3' + event.data.id)) %
360) +
@@ -134,10 +134,10 @@ export const WorkWeek = ({ events, selection, setSelection, hideOtherCourses })
))}
{/* Grid Tracks */}
- {[2, 4, 6].map(i => (
+ {[4, 8, 12].map(i => (
))}
- {[7, 9, 11].map(i => (
+ {[14, 18, 22].map(i => (
))}
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 7f61447..fb80f5b 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -778,7 +778,7 @@ body {
.blocks {
display: grid;
- grid-template-rows: repeat(12, calc(var(--event-height)));
+ grid-template-rows: repeat(24, calc(var(--event-height) / 2));
.block {
grid-row: var(--start) / span var(--size);
@@ -842,7 +842,7 @@ body {
display: grid;
grid-template-columns: repeat(var(--size), auto);
- grid-template-rows: repeat(12, var(--event-height));
+ grid-template-rows: repeat(24, calc(var(--event-height) / 2));
padding: 0 0.25rem;