[gnome-shell-sass] theme/calendar: Use em instead of px for calendar day sizes
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] theme/calendar: Use em instead of px for calendar day sizes
- Date: Fri, 6 May 2022 11:29:34 +0000 (UTC)
commit 3b4f08fe98d2943ea065d5e131f8e38f3203ccbf
Author: Jonas Dreßler <verdre v0yd nl>
Date: Tue Apr 26 18:45:40 2022 +0200
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>
widgets/_calendar.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/widgets/_calendar.scss b/widgets/_calendar.scss
index 8d03ab9..465dc05 100644
--- a/widgets/_calendar.scss
+++ b/widgets/_calendar.scss
@@ -60,7 +60,7 @@
}
}
- $calendar_day_size: 32px;
+ $calendar_day_size: 3em;
.calendar-day-base {
text-align: center;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]