From 14ba1c2ffad7b204eb61be3a31bddecc029b0c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Tue, 23 Apr 2024 18:14:19 +0200 Subject: [PATCH] style: Enforce a min spacing of the dash to the left/right screen edges The dash currently doesn't enforce any spacing when it comes to the left and right edges of the monitor. With the right amount of icons, it will come very close to or even touch the edge. Make sure this "edge case" also looks good by adding a padding to the left and right of the container. Part-of: --- data/theme/gnome-shell-sass/widgets/_dash.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/theme/gnome-shell-sass/widgets/_dash.scss b/data/theme/gnome-shell-sass/widgets/_dash.scss index e49a259ae..02323fcc6 100644 --- a/data/theme/gnome-shell-sass/widgets/_dash.scss +++ b/data/theme/gnome-shell-sass/widgets/_dash.scss @@ -11,6 +11,10 @@ $dash_spacing: $base_margin * 0.5; // container for the dash #dash { + // a bit of spacing so that dash doesn't touch the screen edges + padding-left: $base_padding; + padding-right: $base_padding; + // background behind item container .dash-background { background-color: $dash_background_color;