diff options
author | Florian Müllner <fmuellner@gnome.org> | 2017-03-01 18:36:40 +0100 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2017-03-14 15:12:46 +0100 |
commit | 296e5451457032e2fd9919135828c213d118664e (patch) | |
tree | a8538b85ec5ad31e4275e8ef1dd406efb651f8e0 | |
parent | 46697744a622a21955a6e16c7e161d2422bc0768 (diff) | |
download | gnome-shell-sass-296e5451457032e2fd9919135828c213d118664e.tar.gz |
calendar: Fake baseline alignment for notification timestamp
We don't have GTK's baseline alignment, so all we can do is add some
padding and hope it works out fine for most fonts and sizes ...
-rw-r--r-- | _common.scss | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/_common.scss b/_common.scss index 218e4b9..708bc8f 100644 --- a/_common.scss +++ b/_common.scss @@ -1029,6 +1029,9 @@ StScrollBar { .message-secondary-bin > .event-time { color: darken($fg_color,40%); font-size: 0.7em; + /* HACK: the label should be baseline-aligned with a 1em label, + fake this with some bottom padding */ + padding-bottom: 0.13em; } .message-secondary-bin > StIcon { |