[gtk/wip/exalm/polish: 1/3] inspector: Clean up the .list style




commit 2aa2b7f61e620a3ff8854bbb199ead4052292e46
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Oct 24 22:19:36 2021 +0500

    inspector: Clean up the .list style
    
    Make it work with the property list as well, handle spinbuttons, adjust
    paddings so that buttons don't touch each other, don't override horizontal
    padding unnecessarily.

 gtk/inspector/inspector.css | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/gtk/inspector/inspector.css b/gtk/inspector/inspector.css
index aeca38209a..702dc59690 100644
--- a/gtk/inspector/inspector.css
+++ b/gtk/inspector/inspector.css
@@ -1,24 +1,26 @@
 /* some style for the inspector */
 
-.list .cell {
+.list cell {
   font-size: smaller;
-  padding: 0 2px;
+  padding-top: 1px;
+  padding-bottom: 1px;
   min-height: 24px;
 }
 
-.list .cell entry,
-.list .cell spinbutton,
-.list .cell button,
-.list .cell dropdown
-.list .cell combobox {
+.list cell entry,
+.list cell spinbutton,
+.list cell button,
+.list cell dropdown
+.list cell combobox {
   min-height: 24px;
   min-width: 0;
 }
 
-.list .cell entry,
-.list .cell button,
-.list .cell dropdown
-.list .cell combobox {
+.list cell entry,
+.list cell spinbutton text,
+.list cell button,
+.list cell dropdown
+.list cell combobox {
   padding: 0 4px;
 }
 


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