diff options
author | Jakub Steiner <jimmac@gmail.com> | 2021-02-02 12:01:15 +0100 |
---|---|---|
committer | Jakub Steiner <jimmac@gmail.com> | 2021-02-04 12:54:18 +0100 |
commit | 9f9b286d8983b56a46df50fa59958506016d1d9f (patch) | |
tree | 8f1ac9107eccd0a589b8aa2bd8747a3b902c6c72 | |
parent | 40877d17468fec0e04dbe452a80fd6b4ed6cc614 (diff) | |
download | gnome-shell-wip/jimmac/dash-icon-spacing.tar.gz |
theme: adjust dash icon spacingwip/jimmac/dash-icon-spacing
- no padding between icon containers, except the first and last
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3640
-rw-r--r-- | data/theme/gnome-shell-sass/widgets/_dash.scss | 16 |
1 files 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 756ba158c..d8d926d3e 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 { //last one padded slightly from the favorites + padding: ($dash_spacing / 2) $dash_spacing ($dash_spacing / 2) ($dash_spacing / 2); +} + + +//.overview-icon {} // OSD Tooltip .dash-label { |