[gnome-shell/wip/jimmac/dash-icon-spacing] theme: adjust dash icon spacing




commit a15da05a6b09fdb85f039054036a63a16d6ce0a4
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Feb 2 12:01:15 2021 +0100

    theme: adjust dash icon spacing
    
    - no padding between icon containers, except the first and last
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3640

 data/theme/gnome-shell-sass/widgets/_dash.scss | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_dash.scss b/data/theme/gnome-shell-sass/widgets/_dash.scss
index 756ba158c8..a8ae65d099 100644
--- a/data/theme/gnome-shell-sass/widgets/_dash.scss
+++ b/data/theme/gnome-shell-sass/widgets/_dash.scss
@@ -27,9 +27,21 @@ $dash_border_radius: $modal_radius * 1.5;
 }
 
 // Dash Items
-.dash-item-container > StWidget {
-  padding: ($dash_spacing / 2) $dash_spacing;
+.dash-item-container {
+  & > StWidget {
+     padding: ($dash_spacing / 2) 0; //all compact
+  }
+}
+
+.app-well-app:first-child {
+  padding-left: $dash_spacing; //first one padded
 }
+.show-apps:last-child {
+  padding-right: $dash_spacing; //last one padded
+}
+
+
+//.overview-icon {}
 
 // OSD Tooltip
 .dash-label {


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