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 ...

https://bugzilla.gnome.org/show_bug.cgi?id=779820
This commit is contained in:
Florian Müllner 2017-03-01 18:38:52 +01:00
parent 3d399796a6
commit af18a0cf40
3 changed files with 9 additions and 3 deletions

View File

@ -901,7 +901,10 @@ StScrollBar {
.message-secondary-bin > .event-time {
color: #999999;
font-size: 0.7em; }
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 {
icon-size: 16px; }

@ -1 +1 @@
Subproject commit 46697744a622a21955a6e16c7e161d2422bc0768
Subproject commit 296e5451457032e2fd9919135828c213d118664e

View File

@ -901,7 +901,10 @@ StScrollBar {
.message-secondary-bin > .event-time {
color: #8e8e80;
font-size: 0.7em; }
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 {
icon-size: 16px; }