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

Kneidels pro asked 4 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. https://ibb.co/b0aFOG Using 4.4.1    

Marta Wierzbicka staff answered 4 years ago


Hi, look at here: https://mdbootstrap.com/components/inputs/ on the "small input" section. Best, Marta

Marta Wierzbicka staff answered 4 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 4 years ago

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


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