[gnome-shell/wip/snwh/lg-papercuts: 2/2] lookingGlass: Fix visual papercuts
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/lg-papercuts: 2/2] lookingGlass: Fix visual papercuts
- Date: Sun, 6 Feb 2022 20:25:11 +0000 (UTC)
commit d9f359659203481647ce470aa8ecff3e6dca2725
Author: Sam Hewitt <sam snwh org>
Date: Fri Feb 4 11:01:13 2022 -0330
lookingGlass: Fix visual papercuts
- change icon size to 16px
- give those icons a buttonized style
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2156>
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 e52e263f79..e03457e28c 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 acf4758cbd..f2c7874781 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]