Resource: CSS for Taller Dropdown
-
Someone requested a taller dropdown a while ago. Here’s some custom styles to do that.
#wpadminbar #wp-admin-bar-top-secondary #wp-admin-bar-wp-jump-menu .chosen-container.chosen-with-drop .chosen-drop { height: 90vh; } #wpadminbar #wp-admin-bar-top-secondary #wp-admin-bar-wp-jump-menu .chosen-container .chosen-results { max-height: none; height: calc(90vh - 45px); }
To use this, you can either add it to all your sites with a Chrome extension (like User JavaScript and CSS), or add per-site with enqueued admin & frontend css
View this CSS on Pastebin, with syntax highlighting:
- The topic ‘Resource: CSS for Taller Dropdown’ is closed to new replies.