[gnome-software/1851-source-chooser-breaks-layout-on-mobile] gs-details-page: Make the origin popover compact
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1851-source-chooser-breaks-layout-on-mobile] gs-details-page: Make the origin popover compact
- Date: Mon, 15 Aug 2022 16:07:25 +0000 (UTC)
commit 164eecba812f7922a82185ea4b0f9466f03a3bcc
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 da4d2fc3c..57014bf64 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]