From d9f359659203481647ce470aa8ecff3e6dca2725 Mon Sep 17 00:00:00 2001 From: Sam Hewitt Date: Fri, 4 Feb 2022 11:01:13 -0330 Subject: [PATCH] lookingGlass: Fix visual papercuts - change icon size to 16px - give those icons a buttonized style Part-of: --- 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 e52e263f7..e03457e28 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; + @extend %button; + + & > StIcon { icon-size: $base_icon_size; } + } } .labels { diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index acf4758cb..f2c787478 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', 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', child: new St.Icon({ icon_name: 'user-trash-full-symbolic', - icon_size: 24, }), }); toolbar.add_actor(gcButton);