Font size of input label not getting small


Topic: Font size of input label not getting small

apichai52 pro asked 7 years ago

I noticed that when input field is focused, the label goes up but it still has the same font-size and its font-size
is larger than input font-size. Is this intentionally made? in MDB Angular? I think the input font-size should be
larger than its label.


Marta Szymanska staff pro premium answered 7 years ago

Hi, Do you see this problem within MDB Angular documentation here: https://mdbootstrap.com/angular/components/inputs/? Could you send me any demo to reproduce the problem? Best, Marta

apichai52 pro answered 7 years ago

Sorry, I found the problem. It's because I use 'small-input', that's why the label still in the same size. For other input field, there's no problem. By the way, for 'small-input', is it by design for the input text field to be smaller than it's label?

Marta Szymanska staff pro premium commented 7 years ago

We don't have in MDB .small-input class, we have .form-sm class and this class purposely makes input text smaller than its label.

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: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No