[gnome-software/wip/exalm/style-cleanups: 17/25] app-row: Don't override padding
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/exalm/style-cleanups: 17/25] app-row: Don't override padding
- Date: Tue, 9 Nov 2021 19:11:11 +0000 (UTC)
commit ea5c61da91677a515e28526bcb844f2ea81a8e28
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/gtk-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/gtk-style.css b/src/gtk-style.css
index f5baf374e..9ae93343b 100644
--- a/src/gtk-style.css
+++ b/src/gtk-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]