Quang Huy Nguyễn priority asked 1 year ago

So normally when I run into font size problem I just change the CSS variable up a bit and its works. But buttons size have to be synchronized with controls (input, select, ...) height and when I try changing the button font size it just breaks the balance. So how can I change buttons font size and make its height stay the same as control's?https://mdbootstrap.com/snippets/standard/quang_huy_nguyen_2/5039813

Mateusz Lazaru staff answered 1 year ago

The best way to stay consistent with sizing in this case is to use our input-groups component.

Check out it's sizing section.

It should work with buttons and all input types.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.2.0
  • Device: Laptop
  • Browser: Edge
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes