Button fontsize

Quang Huy Nguyễn pro premium priority asked 2 years 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


mlazaru staff answered 2 years 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.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Pro
  • 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
Tags