From b6589d1aa8dbe72b47cad45ed87b5c76fcf8e7a9 Mon Sep 17 00:00:00 2001 From: brett Date: Sat, 3 Oct 2020 17:38:56 -0600 Subject: [PATCH] remove input font size class --- purs/src/Component/BMark.purs | 8 ++++---- purs/src/Component/NNote.purs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/purs/src/Component/BMark.purs b/purs/src/Component/BMark.purs index 2de3067..9a8c4c4 100644 --- a/purs/src/Component/BMark.purs +++ b/purs/src/Component/BMark.purs @@ -153,20 +153,20 @@ bmark b' = div [ class_ "edit_bookmark_form pa2 pt0 bg-white" ] $ [ form [ onSubmit (Just <<< BEditSubmit) ] [ div_ [ text "url" ] - , input [ type_ InputUrl , class_ "url w-100 mb2 pt1 f7 edit_form_input" , required true , name "url" + , input [ type_ InputUrl , class_ "url w-100 mb2 pt1 edit_form_input" , required true , name "url" , value (edit_bm.url) , onValueChange (editField Eurl) ] , div_ [ text "title" ] , div [class_ "flex"] - [input [ type_ InputText , class_ "title w-100 mb2 pt1 f7 edit_form_input" , name "title" + [input [ type_ InputText , class_ "title w-100 mb2 pt1 edit_form_input" , name "title" , value (edit_bm.title) , onValueChange (editField Etitle) ] , button [ disabled s.loading, type_ ButtonButton, onClick \_ -> Just BLookupTitle, class_ ("ml1 pa1 mb2 dark-gray ba b--moon-gray bg-near-white pointer rdim f7 " <> guard s.loading "bg-light-silver") ] [ text "fetch" ] ] , div_ [ text "description" ] - , textarea [ class_ "description w-100 mb1 pt1 f7 edit_form_input" , name "description", rows 5 + , textarea [ class_ "description w-100 mb1 pt1 edit_form_input" , name "description", rows 5 , value (edit_bm.description) , onValueChange (editField Edescription) ] , div [ id_ "tags_input_box"] [ div_ [ text "tags" ] - , input [ id_ (tagid edit_bm), type_ InputText , class_ "tags w-100 mb1 pt1 f7 edit_form_input" , name "tags" + , input [ id_ (tagid edit_bm), type_ InputText , class_ "tags w-100 mb1 pt1 edit_form_input" , name "tags" , autocomplete false, attr "autocapitalize" "off" , value (edit_bm.tags) , onValueChange (editField Etags) ] ] diff --git a/purs/src/Component/NNote.purs b/purs/src/Component/NNote.purs index 10bb390..d07d3b9 100644 --- a/purs/src/Component/NNote.purs +++ b/purs/src/Component/NNote.purs @@ -126,12 +126,12 @@ nnote st' = renderNote_edit _ = form [ onSubmit (Just <<< NEditSubmit) ] [ p [ class_ "mt2 mb1"] [ text "title:" ] - , input [ type_ InputText , class_ "title w-100 mb1 pt1 f7 edit_form_input" , name "title" + , input [ type_ InputText , class_ "title w-100 mb1 pt1 edit_form_input" , name "title" , value (edit_note.title) , onValueChange (editField Etitle), autofocus (null edit_note.title) ] , br_ , p [ class_ "mt2 mb1"] [ text "description:" ] - , textarea [ id_ (notetextid edit_note), class_ "description w-100 mb1 pt1 f7 edit_form_input" , name "text", rows 30 + , textarea [ id_ (notetextid edit_note), class_ "description w-100 mb1 pt1 edit_form_input" , name "text", rows 30 , value (edit_note.text) , onValueChange (editField Etext) ] , div [ class_ "edit_form_checkboxes mb3"]