theme/calendar: Use em instead of px for calendar day sizes
The layout manager of the calendar/notifications popup is using the calendar width to determine the width of the whole right area of the calendar popup. When enabling large text, this means the cards used for world clocks, weather etc. get larger, while the calender doesn't get larger, leading to the cards getting clipped. Make sure the calendar grows in size just as the cards do when large text is enabled and define its size in em's instead of pixels. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5392 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2282>
This commit is contained in:
parent
8d59d83635
commit
d52508a29e
@ -60,7 +60,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$calendar_day_size: 32px;
|
$calendar_day_size: 3em;
|
||||||
|
|
||||||
.calendar-day-base {
|
.calendar-day-base {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user