[gnome-shell/wip/snwh/stylesheet-minor-fixes: 6/8] nm-dialog: Fix icon spacing issue
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/stylesheet-minor-fixes: 6/8] nm-dialog: Fix icon spacing issue
- Date: Wed, 8 Jun 2022 14:52:23 +0000 (UTC)
commit 8cbf5dd41bc5f6aff12b8dc32baea26fbd6ab9b0
Author: Sam Hewitt <sam snwh org>
Date: Fri May 27 14:49:26 2022 -0230
nm-dialog: Fix icon spacing issue
- fixes #4928
data/theme/gnome-shell-sass/widgets/_network-dialog.scss | 4 ++++
js/ui/status/network.js | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_network-dialog.scss
b/data/theme/gnome-shell-sass/widgets/_network-dialog.scss
index 11e4e676bd..7fc1524575 100644
--- a/data/theme/gnome-shell-sass/widgets/_network-dialog.scss
+++ b/data/theme/gnome-shell-sass/widgets/_network-dialog.scss
@@ -15,6 +15,10 @@
.nm-dialog-header-icon { icon-size: $large_icon_size;}
.nm-dialog-header-hbox { spacing: 10px; }
+.nm-dialog-network-selected {
+ margin: 0 $base_margin*2;
+}
+
.nm-dialog-scroll-view {
padding:$base_padding;
border-radius: $base_border_radius;
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 967fa0d9d8..caa71c3631 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -689,7 +689,7 @@ var NMWirelessDialogItem = GObject.registerClass({
this.add_child(this._label);
this._selectedIcon = new St.Icon({
- style_class: 'nm-dialog-icon',
+ style_class: 'nm-dialog-icon nm-dialog-network-selected',
icon_name: 'object-select-symbolic',
});
this.add(this._selectedIcon);
@@ -868,7 +868,7 @@ class NMWirelessDialog extends ModalDialog.ModalDialog {
const icon = new St.Icon({
style_class: 'nm-dialog-header-icon',
- icon_name: 'network-wireless-signal-excellent-symbolic',
+ icon_name: 'network-wireless-symbolic',
});
let titleBox = new St.BoxLayout({ vertical: true });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]