Remove broken ScrollView wrapper around nearby networks section
This commit is contained in:
parent
be3ad57b67
commit
7fbced9d25
2 changed files with 1 additions and 13 deletions
|
|
@ -235,14 +235,7 @@ export default class WifiSignalPlusExtension extends Extension {
|
|||
menu.addMenuItem(this.nearbySeparator);
|
||||
|
||||
this.nearbySection = new PopupMenu.PopupMenuSection();
|
||||
const scrollView = new St.ScrollView({
|
||||
style_class: 'wifi-nearby-scroll',
|
||||
overlay_scrollbars: true,
|
||||
});
|
||||
scrollView.add_child(this.nearbySection.actor);
|
||||
const scrollItem = new PopupMenu.PopupBaseMenuItem({ reactive: false });
|
||||
scrollItem.add_child(scrollView);
|
||||
menu.addMenuItem(scrollItem);
|
||||
menu.addMenuItem(this.nearbySection);
|
||||
}
|
||||
|
||||
private addConnectionHeader(menu: PopupMenu.PopupMenu): void {
|
||||
|
|
|
|||
|
|
@ -143,11 +143,6 @@
|
|||
color: #e01b24;
|
||||
}
|
||||
|
||||
/* Nearby networks - Scroll container */
|
||||
.wifi-nearby-scroll {
|
||||
max-height: 250px;
|
||||
}
|
||||
|
||||
/* Nearby networks - Card header */
|
||||
.wifi-nearby-card {
|
||||
margin: 2px 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue