Topic: mdbootstrap data-error single line

Seth Killian pro asked 5 years ago


Is there a way that I can use a custom data-error text that's more than one word? It seems that if I use something like "username already taken", it renders it as three lines where I am looking to have it as one long line under the input box.

Bartłomiej Malanowski staff commented 5 years ago

Could you please provide us a screenshot?

Dave pro answered 5 years ago


Yes:
Start your code here.
md-form {
 label[data-error] {
 width: 100%;
 }
 label {
 text-align: left;
 }
}


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: No
  • Provided link: No
Tags