* refactor: comment.

This commit is contained in:
Catouse
2021-03-30 17:32:32 +08:00
parent 216275f06a
commit b64bd42f8a
+3
View File
@@ -458,6 +458,9 @@
$item.removeClass('hidden');
}
});
/* The magic number "111" is the space between dropdown trigger
btn and the bottom of screen */
$list.css('top', moreMenuHeight > 111 ? 111 - moreMenuHeight : '');
$menuNav.toggleClass('show-more-nav', showMoreMenu);