diff options
author | Sebastian Keller <skeller@gnome.org> | 2023-05-03 12:04:00 +0200 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-05-17 16:33:53 +0000 |
commit | ec56278cbcf668df17ce5becb6254a52c7b42bbb (patch) | |
tree | bef4086a79a4e6a8eff391c8bfacf8dfe492d7b3 | |
parent | 464ad5aa95bb574e736778c066f0c50ffb25cdb2 (diff) | |
download | gnome-shell-ec56278cbcf668df17ce5becb6254a52c7b42bbb.tar.gz |
style: Scale calendar heading with font size
Using a fixed pixel size can result in the cell being too small for the
contained label. Instead use em to scale with the font size like is done
for the other cells. The chosen size corresponds to 16px with the
default font settings.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6651
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2759>
-rw-r--r-- | data/theme/gnome-shell-sass/widgets/_calendar.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/theme/gnome-shell-sass/widgets/_calendar.scss b/data/theme/gnome-shell-sass/widgets/_calendar.scss index 393221627..2a6aec8a9 100644 --- a/data/theme/gnome-shell-sass/widgets/_calendar.scss +++ b/data/theme/gnome-shell-sass/widgets/_calendar.scss @@ -94,7 +94,7 @@ &.calendar-day-heading { color: $insensitive_fg_color; padding-top: $base_padding; - height: 16px !important; // force heading to be smaller height + height: 1.1em !important; // force heading to be smaller height font-weight: 600; @extend %smaller; } |