Height of menu buttons in 'material dropdowns' men

Topic: Height of menu buttons in 'material dropdowns' menu

shar pro asked 4 years ago

How do I change the size of the menu buttons in the 'material dropdowns' menu? I understand that I can change the size of the trigger button, but not the size of the menu buttons. I would like to reduce their height.

Bartłomiej Malanowski staff pro premium answered 4 years ago

You can set the padding for .dropdown-item. Example:
.dropdown-item {
    padding:5px 20px;

shar pro answered 4 years ago

Thank you for response. This code seems to work for me. .dropdown-item { line-height: 0px; height: 10px; padding-top: 0px; }

RobertClark answered 2 months ago

If the menu button is not appearing on the top of your screen then the best option is that you must visit this essay writing review site. Because many experts have answered this query of different people. So you can get the idea about your problem from here.

Please insert min. 20 characters.


Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No