[gnome-shell/wip/jimmac/dash-icon-spacing-fixes: 2/2] theme: Space dash items
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/jimmac/dash-icon-spacing-fixes: 2/2] theme: Space dash items
- Date: Thu, 4 Feb 2021 17:46:00 +0000 (UTC)
commit 49f28f3b0bb85714b7efa04ad6c48e29a24b405f
Author: Jakub Steiner <jimmac gmail com>
Date: Thu Feb 4 18:28:21 2021 +0100
theme: Space dash items
- don't nuke separator
- space appropriately
Fixes a fix for https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3640
data/theme/gnome-shell-sass/widgets/_dash.scss | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_dash.scss b/data/theme/gnome-shell-sass/widgets/_dash.scss
index a1f6249cca..87f01e7d04 100644
--- a/data/theme/gnome-shell-sass/widgets/_dash.scss
+++ b/data/theme/gnome-shell-sass/widgets/_dash.scss
@@ -9,8 +9,7 @@ $dash_border_radius: $modal_radius * 1.5;
background-color: $dash_background_color;
@include fontsize($base_font_size - 2);
margin: $base_margin * 4 $base_margin * 2;
- padding: ($dash_spacing / 2) 0;
-
+ padding: 0 $dash_spacing;
border-radius: $dash_border_radius;
.placeholder {
@@ -28,11 +27,12 @@ $dash_border_radius: $modal_radius * 1.5;
// Dash Items
.dash-item-container > StWidget {
- padding: ($dash_spacing / 2) $dash_spacing;
+ padding: $dash_spacing 0;
}
.dash-separator {
width: 1px;
+ margin: 0 ($dash_spacing / 2);
background-color: transparentize($osd_fg_color,0.7);
}
@@ -60,4 +60,3 @@ $dash_border_radius: $modal_radius * 1.5;
}
}
}
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]