Fix WeekLinks text overflow

This commit is contained in:
Kalle 2022-07-28 19:53:33 +03:00
parent 5aa1d78ae8
commit 3ecc6bdc7e
2 changed files with 6 additions and 5 deletions

View File

@ -17,6 +17,7 @@ Calendar
## Other
- [x] WeekLinks make opaque blocks not take space on mobile
- [ ] Type problem with Avatar
- [ ] Rename model events -> calendarEvents
- [ ] On the event page should not say Day 1 if only one day
- [ ] WeekLinks make opaque blocks not take space on mobile

View File

@ -16,7 +16,7 @@
.calendar__week {
display: flex;
width: calc(var(--full-size-week-width) - 2rem);
min-width: calc(var(--full-size-week-width) - 2rem);
height: calc(var(--full-size-week-height) - 2rem);
flex-direction: column;
justify-content: space-between;
@ -46,7 +46,7 @@
.calendar__week:nth-child(2),
.calendar__week:nth-child(8),
.calendar__week:nth-child(9) {
width: calc(var(--full-size-week-width) - 2.5rem);
min-width: calc(var(--full-size-week-width) - 2.5rem);
height: calc(var(--full-size-week-height) - 2.5rem);
cursor: initial;
font-size: var(--fonts-xxxxs);
@ -54,7 +54,7 @@
}
.calendar__week:nth-child(5) {
width: var(--full-size-week-width);
min-width: var(--full-size-week-width);
height: var(--full-size-week-height);
color: var(--text);
font-size: var(--fonts-sm);
@ -66,7 +66,7 @@
.calendar__week:nth-child(4),
.calendar__week:nth-child(6) {
width: calc(var(--full-size-week-width) - 1rem);
min-width: calc(var(--full-size-week-width) - 1rem);
height: calc(var(--full-size-week-height) - 1rem);
font-size: var(--fonts-xs);
}