inspector: Clean up the .list style
authorAlexander Mikhaylenko <alexm@gnome.org>
Sun, 24 Oct 2021 17:19:36 +0000 (22:19 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Sun, 24 Oct 2021 17:27:24 +0000 (22:27 +0500)
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

index aeca38209a3e33950ee4ad82b1fb9f258cf5a4d7..702dc59690f0e94161bbee2b99fb5bdc09655a96 100644 (file)
@@ -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;
 }