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; }

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; }