Skip to content

Commit 50ec352

Browse files
committed
styling on nested popup menus
1 parent e3fff66 commit 50ec352

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

[email protected]/extension.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,13 @@ const TailscaleMenuToggle = GObject.registerClass(
235235

236236
// Add sections
237237
if (nonMullvadNodes.length > 0) {
238-
const title = new PopupMenu.PopupMenuItem(_("Nodes"), { reactive: false });
238+
const title = new PopupMenu.PopupMenuItem(_("Nodes"), {});
239239
nodes.addMenuItem(title);
240240
nodes.addMenuItem(nonMullvadSection);
241241
}
242242
if (mullvadNodes.length > 0) {
243243
nodes.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
244-
const title = new PopupMenu.PopupMenuItem(_("Mullvad Exit Nodes"), { reactive: false });
244+
const title = new PopupMenu.PopupMenuItem(_("Mullvad Exit Nodes"), {});
245245
nodes.addMenuItem(title);
246246
nodes.addMenuItem(mullvadSection);
247247
}

[email protected]/stylesheet.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.country-sub-menu .popup-menu-item {
22
background-color: transparent;
3-
box-shadow: none;
43
}
54

5+
.country-sub-menu .popup-menu-item:hover {
6+
background-color: #4c4c4c;
7+
}

0 commit comments

Comments
 (0)