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




commit 30b6816a86272020167cdf17a706e1c766372580
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
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1634>

 data/theme/gnome-shell-sass/widgets/_dash.scss | 14 +++++++++-----
 1 file changed, 9 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..fb720acbe1 100644
--- a/data/theme/gnome-shell-sass/widgets/_dash.scss
+++ b/data/theme/gnome-shell-sass/widgets/_dash.scss
@@ -27,13 +27,17 @@ $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


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