Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: mdbootstrap data-error single line

Seth Killian pro asked 7 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 7 years ago

Could you please provide us a screenshot?

Dave pro answered 7 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

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