[gtk+] Adwaita: vertical paddings on menu



commit 01ad22df1fe7d9eb3b9e56bedf67ba12999e9d14
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Mar 8 14:26:28 2016 +0100

    Adwaita: vertical paddings on menu
    
    mostly to fix combobox menu positioning, looks nice anyway.

 gtk/theme/Adwaita/_common.scss           |    2 +-
 gtk/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 6f35368..f8ac614 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1646,7 +1646,7 @@ menubar,
 menu,
 .menu {
   margin: 4px;
-  padding: 0px;
+  padding: 2px 0px;
   background-color: $menu_color;
   border: 1px solid $borders_color; // adds borders in a non composited env
 
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index a44bf36..722b69f 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1896,7 +1896,7 @@ menubar,
 menu,
 .menu {
   margin: 4px;
-  padding: 0px;
+  padding: 2px 0px;
   background-color: #2c2d2d;
   border: 1px solid #1c1f1f; }
   .csd menu, .csd
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index cebf65a..1dcf89c 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1906,7 +1906,7 @@ menubar,
 menu,
 .menu {
   margin: 4px;
-  padding: 0px;
+  padding: 2px 0px;
   background-color: #ffffff;
   border: 1px solid #9d9d99; }
   .csd menu, .csd


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