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



commit 7137bd690c48d01f4f412d7363e5bf48acc55d8e
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>

 widgets/_panel.scss | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/widgets/_panel.scss b/widgets/_panel.scss
index bc526f0..966fb6c 100644
--- a/widgets/_panel.scss
+++ b/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]