1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-27 10:10:50 +03:00

Make pro/con editing textareas wider

This commit is contained in:
Artyom 2016-03-09 22:27:52 +03:00
parent b71cde0770
commit 8e6b12fbcb

View File

@ -1236,7 +1236,8 @@ renderTrait itemId trait = do
-- TODO: the text area should be bigger
let submitHandler =
JS.submitTrait (this, itemId, trait^.uid, inputValue)
textarea_ [onEnter submitHandler] $ toHtml (trait^.content)
textarea_ [class_ "fullwidth", onEnter submitHandler] $
toHtml (trait^.content)
br_ []
textButton "cancel" $
JS.switchSection (this, "editable" :: Text)