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:
parent
b71cde0770
commit
8e6b12fbcb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user