[gnome-shell] panel: Align left and right margin for status panel item



commit f5b622a703689fbb72ff2e66bebfe313ce072bb0
Author: Razze <razzeee gmail com>
Date:   Tue Feb 2 01:54:48 2021 +0100

    panel: Align left and right margin for status panel item
    
    We now set a padding for the left and right
    side of the pill. We also got rid of the padding on the icon.
    
    Probably broken due to the removal of the dropdown arrow
    which likly handled the padding the right side of this item before.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1615>

 data/theme/gnome-shell-sass/widgets/_panel.scss | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_panel.scss b/data/theme/gnome-shell-sass/widgets/_panel.scss
index bc526f0fe7..966fb6c77e 100644
--- a/data/theme/gnome-shell-sass/widgets/_panel.scss
+++ b/data/theme/gnome-shell-sass/widgets/_panel.scss
@@ -86,8 +86,6 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
 
     // app menu icon
     .app-menu-icon {
-      margin-left: $base_margin;
-      margin-right: $base_margin;
       -st-icon-style: symbolic;
       // dimensions of the icon are hardcoded
     }
@@ -137,3 +135,8 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
   spacing: $base_spacing;
   .label-shadow { color: transparent; }
 }
+
+#appMenu .panel-status-menu-box {
+  padding: 0 $base_padding;
+  spacing: $base_spacing;
+}
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]