Skip to content

Commit 0aa29ca

Browse files
committed
fix: playlist height when erasing filter
close #22
1 parent 17c54a5 commit 0aa29ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

user script/yt-playlist-filter.user.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
const selector_OpenMenuParentType1 = "ytd-app ytd-popup-container";
7373
const selector_OpenMenuParentType2 = "tp-yt-paper-dialog.ytd-popup-container";
7474
const InputId = "filterPlaylist";
75+
const ListMinHeight = "220px";
7576

7677
// array of all selectors for playslists menu and its header
7778
const selectors_PlaylistsMenu = [selector_MenuType1, selector_MenuType2];
@@ -498,6 +499,7 @@
498499
let selector_FilterInput = "";
499500

500501
PLAYLISTS = list;
502+
list.style.minHeight = ListMinHeight;
501503

502504
autoTopList(PLAYLISTS);
503505

0 commit comments

Comments
 (0)