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:
Jonas Dreßler 2022-04-26 18:45:40 +02:00 committed by Marge Bot
parent 8d59d83635
commit d52508a29e

View File

@ -60,7 +60,7 @@
}
}
$calendar_day_size: 32px;
$calendar_day_size: 3em;
.calendar-day-base {
text-align: center;