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.


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 Wierzbicka staff 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.

Marta Wierzbicka staff 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

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

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags