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>
This commit is contained in:
Sam Hewitt 2022-02-04 11:01:13 -03:30 committed by Florian Müllner
parent a92f749daf
commit d9f3596592
2 changed files with 8 additions and 2 deletions

View File

@ -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 {

View File

@ -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);