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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3278>
This commit is contained in:
Jonas Dreßler 2024-04-23 18:14:19 +02:00 committed by Marge Bot
parent 2a8ea4886e
commit 14ba1c2ffa

View File

@ -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;