In Firefox 93 (due out in October), the optional Compact density setting will tighten up the bookmark menus that drop from the main toolbar and bookmarks toolbar (but probably not other menus). Here’s a preview from the Developer Edition (based on the beta test version of Firefox 93):