Skip to content

Commit

Permalink
Merge pull request #299 from vplan-fr/main
Browse files Browse the repository at this point in the history
Weekplan Design Fixes
  • Loading branch information
OfficialFreak authored Mar 25, 2024
2 parents 179ce06 + d48301b commit 249be26
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/src/components/Weekplan/Lesson.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@
&.teacher_absent {
background: rgba(255, 255, 255, 0.08);
outline: 3px solid var(--cancelled-color);
outline-offset: -3px;
outline: 1.5px solid var(--cancelled-color);
outline-offset: -1.5px;
}
& > button {
Expand Down Expand Up @@ -295,6 +295,7 @@
background: none;
text-align: center;
border-radius: 5px;
line-height: normal;
}
.subject {
Expand All @@ -303,6 +304,7 @@
.extra_padding {
padding: .05rem .5rem;
line-height: normal;
}
.rooms.horizontal-align {
Expand Down
7 changes: 7 additions & 0 deletions client/src/components/Weekplan/Weekplan.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@
line-height: calc(2 * var(--lesson-height) + .5rem);
font-weight: bold;
font-size: var(--font-size-lg);
@media only screen and (max-width: 900px) {
font-size: var(--font-size-base);
}
text-align: center;
}
}
Expand All @@ -229,6 +232,10 @@
flex-direction: column;
span {
font-size: var(--font-size-base);
@media only screen and (max-width: 900px) {
font-size: var(--font-size-sm);
}
height: calc(var(--lesson-height) + .25rem);
line-height: calc(var(--lesson-height) + .25rem);
opacity: 0.5;
Expand Down

0 comments on commit 249be26

Please sign in to comment.