[gnome-software/1852-source-popover-is-very-wide: 2/2] gs-details-page: Make the origin popover compact
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1852-source-popover-is-very-wide: 2/2] gs-details-page: Make the origin popover compact
- Date: Wed, 10 Aug 2022 16:57:58 +0000 (UTC)
commit 6fa14434284e786b530728e679f29ea754841f59
Author: Milan Crha <mcrha redhat com>
Date: Wed Aug 10 17:07:44 2022 +0200
gs-details-page: Make the origin popover compact
Make the pills closer together, using less horizontal space, by inheriting
the margins and spacing from the `menu` CSS class.
Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1852
src/gs-origin-popover-row.ui | 5 -----
src/style.css | 2 +-
2 files changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/gs-origin-popover-row.ui b/src/gs-origin-popover-row.ui
index 53fb90a3a..eff9a2c11 100644
--- a/src/gs-origin-popover-row.ui
+++ b/src/gs-origin-popover-row.ui
@@ -3,12 +3,7 @@
<template class="GsOriginPopoverRow" parent="GtkListBoxRow">
<child>
<object class="GtkBox">
- <property name="margin-top">6</property>
- <property name="margin-bottom">6</property>
- <property name="margin-start">12</property>
- <property name="margin-end">12</property>
<property name="orientation">horizontal</property>
- <property name="spacing">6</property>
<child>
<object class="GtkBox" id="vbox">
<property name="orientation">vertical</property>
diff --git a/src/style.css b/src/style.css
index 2b7ddf6a5..4f1d84e0a 100644
--- a/src/style.css
+++ b/src/style.css
@@ -36,7 +36,7 @@ screenshot-carousel button,
.origin-rounded-box {
border-radius: 14px;
- padding: 6px 8px;
+ padding: 4px 8px;
}
.origin-beta {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]