[gnome-shell/wip/jimmac/dash-icon-spacing-on-master] theme: Adjust dash icon spacing




commit 6b8b3f91e9604af8f54ad99d7152461b4c8e2113
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Feb 4 13:26:23 2021 +0100

    theme: Adjust dash icon spacing
    
    - slight separation between favorites and the app-well icon
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3640

 data/theme/gnome-shell-sass/widgets/_dash.scss | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_dash.scss b/data/theme/gnome-shell-sass/widgets/_dash.scss
index a1f6249cca..e6c357a528 100644
--- a/data/theme/gnome-shell-sass/widgets/_dash.scss
+++ b/data/theme/gnome-shell-sass/widgets/_dash.scss
@@ -27,15 +27,20 @@ $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
+  }
 }
 
-.dash-separator {
-  width: 1px;
-  background-color: transparentize($osd_fg_color,0.7);
+.app-well-app:first-child {
+  padding-left: $dash_spacing; //first one padded
+}
+.show-apps:last-child { //last one padded slightly from the favorites
+  padding: ($dash_spacing / 2) $dash_spacing ($dash_spacing / 2) ($dash_spacing / 2);
 }
 
+
 // OSD Tooltip
 .dash-label {
   background-color: transparentize($osd_bg_color,0.05);


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