[gnome-builder/wip/gtk4-port: 568/1774] libide/search: remove popover contents padding
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 568/1774] libide/search: remove popover contents padding
- Date: Mon, 11 Jul 2022 22:31:16 +0000 (UTC)
commit 1a3e87a8eb8abd7c5469932d78af52acee303ddc
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 13 11:38:14 2022 -0700
libide/search: remove popover contents padding
src/libide/gui/style.css | 5 +++++
src/libide/search/ide-search-popover.ui | 3 +++
2 files changed, 8 insertions(+)
---
diff --git a/src/libide/gui/style.css b/src/libide/gui/style.css
index 84ed3752c..e892ebbe6 100644
--- a/src/libide/gui/style.css
+++ b/src/libide/gui/style.css
@@ -46,3 +46,8 @@ stylevariantpreview widget.header.dark {
stylevariantpreview widget.header.light {
background: #cccccc;
}
+
+window popover.global-search contents {
+ padding: 0;
+ margin: 0;
+}
diff --git a/src/libide/search/ide-search-popover.ui b/src/libide/search/ide-search-popover.ui
index f3e0350dc..7be64cb32 100644
--- a/src/libide/search/ide-search-popover.ui
+++ b/src/libide/search/ide-search-popover.ui
@@ -3,6 +3,9 @@
<template class="IdeSearchPopover" parent="GtkPopover">
<property name="has-arrow">false</property>
<property name="width-request">500</property>
+ <style>
+ <class name="global-search"/>
+ </style>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]