display course type on top left of slots

This commit is contained in:
imperosol
2025-09-13 00:19:18 +02:00
parent 61eef6bbca
commit 535b493b03
4 changed files with 14 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ const WEEKDAYS = [
] as const;
const SLOT_HEIGHT = 20 as const; // Each 15min has a height of 20px in the timetable
const SLOT_WIDTH = 400 as const; // Each weekday ha a width of 400px in the timetable
const SLOT_WIDTH = 250 as const; // Each weekday ha a width of 400px in the timetable
const MINUTES_PER_SLOT = 15 as const;
interface TimetableSlot {

View File

@@ -23,6 +23,13 @@
display: flex;
flex-direction: column;
justify-content: center;
.course-type {
position: absolute;
top: 0;
right: 0;
padding: 10px;
}
}
}
}