Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Custom label css styling #57

Open
aliuk2012 opened this issue Aug 22, 2016 · 0 comments
Open

Custom label css styling #57

aliuk2012 opened this issue Aug 22, 2016 · 0 comments

Comments

@aliuk2012
Copy link
Contributor

Currently a custom styling is added to the inputs element but not the actual Label. The thing with label that makes it tricky is that it also has form hint inside the label which may cause issues. I suggest if a custom class is used then a span should be wrapped around the labels text before the hint text is added

example

<label>
  <span class="my-custom-class">Hello</span> 
  <span class="form-hint">World</span>
</label>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant