[gnome-shell/wip/snwh/lg-papercuts] lg: Fix visual papercuts




commit 11a33fad0a25398f479830e000948f5396a33f97
Author: Sam Hewitt <sam snwh org>
Date:   Fri Feb 4 11:01:13 2022 -0330

    lg: Fix visual papercuts
    
    - change icon size to 16px
    - give those icons a buttonized style

 data/theme/gnome-shell-sass/widgets/_looking-glass.scss | 8 ++++++++
 js/ui/lookingGlass.js                                   | 2 --
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_looking-glass.scss 
b/data/theme/gnome-shell-sass/widgets/_looking-glass.scss
index 6cda2705b9..8cdcb69ed2 100644
--- a/data/theme/gnome-shell-sass/widgets/_looking-glass.scss
+++ b/data/theme/gnome-shell-sass/widgets/_looking-glass.scss
@@ -16,6 +16,14 @@
     padding: $base_padding;
     border-radius: 0;
     background-color: transparent;
+    spacing: $base_spacing;
+
+    .lg-toolbar-button {
+      padding: $base_padding $base_padding*2;
+      border-radius:$base_border_radius;
+
+      & > StIcon { icon-size: $base_icon_size; }
+    }
   }
 
   .labels { 
diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js
index b8e289b98f..a454e53155 100644
--- a/js/ui/lookingGlass.js
+++ b/js/ui/lookingGlass.js
@@ -1268,7 +1268,6 @@ class LookingGlass extends St.BoxLayout {
             style_class: 'lg-toolbar-button button',
             child: new St.Icon({
                 icon_name: 'find-location-symbolic',
-                icon_size: 24,
             }),
         });
         toolbar.add_actor(inspectButton);
@@ -1289,7 +1288,6 @@ class LookingGlass extends St.BoxLayout {
             style_class: 'lg-toolbar-button button',
             child: new St.Icon({
                 icon_name: 'user-trash-full-symbolic',
-                icon_size: 24,
             }),
         });
         toolbar.add_actor(gcButton);


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