doabit / semantic-ui-sass

Semantic UI, converted to Sass and ready to drop into Rails & Compass.
MIT License
1.15k stars 190 forks source link

Error state for Input does not work #108

Closed tirdadc closed 7 years ago

tirdadc commented 7 years ago

https://semantic-ui.com/elements/input.html#error

For some reason the include order is overriding the styling for the error state of the input field.

screen shot 2017-04-27 at 4 28 07 pm

/* line 90, /Users/tirdad/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/semantic-ui-sass-2.2.10.0/app/assets/stylesheets/semantic-ui/collections/_form.scss */

is overriding

/* line 162, /Users/tirdad/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/semantic-ui-sass-2.2.10.0/app/assets/stylesheets/semantic-ui/elements/_input.scss */

tirdadc commented 7 years ago

Never mind, this was in the context of a form so this is the proper way to set the error state on a field:

https://semantic-ui.com/collections/form.html#error