Skip to content

Commit

Permalink
gnome-shell: Adjust notification time alignment
Browse files Browse the repository at this point in the history
The alignment is wrong with some font scaling settings, but this
seems to happen on default shell theme as well [1]. With this change,
the alignment is correct with slightly wider font scaling range.

[1] https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5418
  • Loading branch information
jnsh committed Apr 30, 2022
1 parent e17a926 commit 2b08e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/gnome-shell/42/sass/_common.scss
Expand Up @@ -1479,7 +1479,7 @@ $ws_dot_inactive: $ws_indicator_height / 6;
color: transparentize($fg_color, 0.4);
@include fontsize($font-size * 0.9);
/* HACK: the label should be baseline-aligned with a 1em label, fake this with some bottom padding */
padding-bottom: 0.05em;//Use em instead of px, since this depends on font-size
padding-bottom: 0.04em;//Use em instead of px, since this depends on font-size

&:ltr { text-align: right };
&:rtl { text-align: left };
Expand Down

0 comments on commit 2b08e56

Please sign in to comment.