style: Reduce padding between quick menu toggle text and separator

The padding between the text and the arrow button separator effectively
was 2 * base_padding, while the spacing between the icon and the text
was just 1.5 * base_padding. This was a bit uneven and also could result
in the text getting ellipsized when it wasn't necessary.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6432
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2685>
This commit is contained in:
Sebastian Keller 2023-03-07 15:11:22 +01:00 committed by Marge Bot
parent 1cbf32bf1b
commit b9c5733a29

View File

@ -48,7 +48,9 @@
max-width: auto;
&:ltr { border-radius: 99px 0 0 99px; }
&:ltr > StBoxLayout { padding-right: $base_padding*1.5; }
&:rtl { border-radius: 0 99px 99px 0; }
&:rtr > StBoxLayout { padding-left: $base_padding*1.5; }
&:ltr:last-child { border-radius: 99px; }
&:rtl:last-child { border-radius: 99px; }