summaryrefslogtreecommitdiff
path: root/gtk/theme
diff options
context:
space:
mode:
authornana-4 <hnmaigo@gmail.com>2020-08-15 22:45:39 +0900
committernana-4 <hnmaigo@gmail.com>2020-08-15 22:46:31 +0900
commit19c2cc1296cd22a4ebeff2cb8aa9d29179bd7bb5 (patch)
tree18b3354ee15a7ab8fa89cdefaee48abe09e77f50 /gtk/theme
parent9b42edbef45b269f11effada3e0cb82e34acafc1 (diff)
downloadgtk+-19c2cc1296cd22a4ebeff2cb8aa9d29179bd7bb5.tar.gz
placessidebar: Replace hard-coded margins with theme
So we can easily adjust the widget sizing in the theme.
Diffstat (limited to 'gtk/theme')
-rw-r--r--gtk/theme/Adwaita/_common.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index bddf62f632..57446f56e6 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3389,6 +3389,18 @@ row image.sidebar-icon { opacity: $_placesidebar_icons_opacity; } // dim the sid
placessidebar, .navigation-sidebar {
> scrolledwindow.frame { border-style: none; }
+ list {
+ padding: 4px 0;
+
+ > row {
+ margin: 1px 0;
+ }
+
+ > separator {
+ margin: 4px 0;
+ }
+ }
+
row {
// Needs overriding of the GtkListBoxRow padding
min-height: 36px;