[gnome-software/wip/exalm/style-cleanups: 16/25] app-row: Don't override padding




commit f8e0cfbc83ce4d4454d2772859df1c2b9432301d
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 9 21:48:52 2021 +0500

    app-row: Don't override padding
    
    Reduce margins instead.

 src/gs-app-row.ui | 11 ++++-------
 src/style.css     |  5 -----
 2 files changed, 4 insertions(+), 12 deletions(-)
---
diff --git a/src/gs-app-row.ui b/src/gs-app-row.ui
index c33ff54df..fba8c1113 100644
--- a/src/gs-app-row.ui
+++ b/src/gs-app-row.ui
@@ -2,15 +2,12 @@
 <interface>
   <!-- interface-requires gtk+ 3.10 -->
   <template class="GsAppRow" parent="GtkListBoxRow">
-    <style>
-      <class name="list-box-app-row"/>
-    </style>
     <child>
       <object class="GtkBox" id="box">
-        <property name="margin_top">12</property>
-        <property name="margin_bottom">12</property>
-        <property name="margin_start">12</property>
-        <property name="margin_end">18</property>
+        <property name="margin_top">10</property>
+        <property name="margin_bottom">10</property>
+        <property name="margin_start">10</property>
+        <property name="margin_end">16</property>
         <property name="orientation">horizontal</property>
         <child>
           <object class="GtkImage" id="image">
diff --git a/src/style.css b/src/style.css
index 9f47f7082..eb50ef11c 100644
--- a/src/style.css
+++ b/src/style.css
@@ -279,11 +279,6 @@ star-image {
        color: #e5a50a;
 }
 
-/* padding removal */
-.list-box-app-row {
-       padding: 0px;
-}
-
 .dimmer-label {
        opacity: 0.25;
 }


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