[gnome-weather/wip/cdavis/daily-style-adjustments: 3/3] day-entry: Use smaller text for date




commit df38bda2446da97cddb61daa1ca7913aa662652d
Author: Christopher Davis <brainblasted disroot org>
Date:   Wed Nov 25 20:30:12 2020 -0800

    day-entry: Use smaller text for date
    
    Related to https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/103

 data/application.css | 4 ++++
 data/day-entry.ui    | 3 +++
 2 files changed, 7 insertions(+)
---
diff --git a/data/application.css b/data/application.css
index f7c2b6d..17501ce 100644
--- a/data/application.css
+++ b/data/application.css
@@ -108,3 +108,7 @@ button.osd.circular > image {
 .day-popover {
   background-color: @theme_base_color;
 }
+
+.small-label {
+  font-size: 9pt;
+}
diff --git a/data/day-entry.ui b/data/day-entry.ui
index ba7925c..b3b7e62 100644
--- a/data/day-entry.ui
+++ b/data/day-entry.ui
@@ -328,6 +328,9 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="label">7 June</property>
+            <style>
+              <class name="small-label"/>
+            </style>
           </object>
         </child>
       </object>


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