use override-sass-styles on textarea v3

This commit is contained in:
Brooke 2018-06-05 17:05:08 -07:00
parent d3c754be16
commit 9404102758
2 changed files with 3 additions and 1 deletions

View File

@ -95,7 +95,8 @@ label theme inError =
]
{-| -}
{-| In order to use these styles in an input module, you will need to add the class "override-sass-styles". This is because sass styles in the monolith have higher precendence than the class styles here.
-}
input : Theme -> Bool -> Style
input theme isInError =
let

View File

@ -114,6 +114,7 @@ view_ theme model =
]
[ Events.onInput model.onInput
, Attributes.id (generateId model.label)
, Attributes.class "override-sass-styles"
, Attributes.autofocus model.autofocus
, Attributes.placeholder model.placeholder
, Attributes.attribute "data-gramm" "false" -- disables grammarly to prevent https://github.com/NoRedInk/NoRedInk/issues/14859