[gnome-shell/wip/jimmac/dash-icon-spacing] theme: adjust dash icon spacing
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/jimmac/dash-icon-spacing] theme: adjust dash icon spacing
- Date: Thu, 4 Feb 2021 11:55:08 +0000 (UTC)
commit 9f9b286d8983b56a46df50fa59958506016d1d9f
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..d8d926d3e1 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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]