mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-01 09:12:33 +03:00
use override-sass-styles on textarea v3
This commit is contained in:
parent
d3c754be16
commit
9404102758
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user