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:
parent
3d399796a6
commit
af18a0cf40
@ -901,7 +901,10 @@ StScrollBar {
|
|||||||
|
|
||||||
.message-secondary-bin > .event-time {
|
.message-secondary-bin > .event-time {
|
||||||
color: #999999;
|
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 {
|
.message-secondary-bin > StIcon {
|
||||||
icon-size: 16px; }
|
icon-size: 16px; }
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 46697744a622a21955a6e16c7e161d2422bc0768
|
Subproject commit 296e5451457032e2fd9919135828c213d118664e
|
@ -901,7 +901,10 @@ StScrollBar {
|
|||||||
|
|
||||||
.message-secondary-bin > .event-time {
|
.message-secondary-bin > .event-time {
|
||||||
color: #8e8e80;
|
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 {
|
.message-secondary-bin > StIcon {
|
||||||
icon-size: 16px; }
|
icon-size: 16px; }
|
||||||
|
Loading…
Reference in New Issue
Block a user