[gnome-software/1423-gs-overview-page-inconsistent-font-for-iconless-tiles-categories] gs-overview-page: Inconsistent font for iconless tiles (categories)



commit 66bee262c0036ca31a780e0b5126429edc081900
Author: Milan Crha <mcrha redhat com>
Date:   Thu Sep 16 17:39:15 2021 +0200

    gs-overview-page: Inconsistent font for iconless tiles (categories)
    
    Use the 'view' class to match the style with the GsSummaryTile (also
    fixes the color/style change on the focus out).
    
    Add the font-related CSS for the same reason.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1423

 src/gs-category-tile.ui | 1 +
 src/gtk-style.css       | 2 ++
 2 files changed, 3 insertions(+)
---
diff --git a/src/gs-category-tile.ui b/src/gs-category-tile.ui
index 4583ccbd4..39a3aa1dd 100644
--- a/src/gs-category-tile.ui
+++ b/src/gs-category-tile.ui
@@ -4,6 +4,7 @@
   <template class="GsCategoryTile" parent="GtkButton">
     <property name="visible">True</property>
     <style>
+      <class name="view"/>
       <class name="tile"/>
       <class name="category-tile"/>
     </style>
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 3e5a0d474..685633d6a 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -200,7 +200,9 @@ clamp.large .category-tile:not(.category-tile-iconless) {
 }
 
 .category-tile.category-tile-iconless {
+       font-size: 105%;
        font-weight: normal;
+       text-shadow: none;
        padding: 10px 15px;
        background-image: none;
 }


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