Skip to content

Commit

Permalink
style: icbd small style changes (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoeTerrier authored Jan 21, 2025
1 parent bb4cea9 commit a762fdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/components/Timetable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ export function findStartTime(activity: ICBDActivity): number {
JSON.stringify(activity.timeslots)
);

timeslots.forEach((t) => {
let tTime = timeToMinutes(t.start_time);
startTime = Math.min(tTime, startTime);
});
return Math.min(...timeslots.map((t) => timeToMinutes(t.start_time)));
}

return startTime;
Expand Down
3 changes: 2 additions & 1 deletion src/styles/Timetable.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,14 @@ $header-height: 3rem;
}

.table {
height: 100%;
min-width: 1500px;
border-collapse: collapse;
overflow: hidden;

tbody {
td {
padding: 1rem 0 1rem 0;
padding: 2rem 0 2rem 0;
height: 100%;
}

Expand Down

0 comments on commit a762fdb

Please sign in to comment.