Topic: MDB form-control overides Bootstrap form-control-sm CSS

Kneidels pro asked 5 years ago

hi there I have a simple field:
<input class="form-control form-control-sm" type="text" placeholder=".form-control-sm">
i have found that the MDB css overrides the Bootstrap CSS (which makes sense), but when there is a form-control-sm - the "-sm" styles should still take effect, and they are being overridden pls see image attached - you will see what i mean. Using 4.4.1    

Marta Wierzbicka staff answered 5 years ago

Hi, look at here: on the "small input" section. Best, Marta

Marta Wierzbicka staff answered 5 years ago

Hi, this is because we have our own class for smaller input - .form-sm and we don't use Bootstrap one. Best, Marta

Kneidels pro commented 5 years ago

in this class for the actual field, or the form? whats the exact usage? thanks

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

  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No