[gnome-shell-sass] calendar: Fake baseline alignment for notification timestamp



commit 296e5451457032e2fd9919135828c213d118664e
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Mar 1 18:36:40 2017 +0100

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

 _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 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]