Topic: Height of menu buttons in 'material dropdowns' menu
shar pro asked 8 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.
Add comment
shar pro answered 8 years ago
Thank you for response. This code seems to work for me.
.dropdown-item {
line-height: 0px;
height: 10px;
padding-top: 0px;
}
Bartłomiej Malanowski staff answered 8 years ago
You can set the padding for .dropdown-item. Example:
.dropdown-item {
padding:5px 20px;
}
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags