Fix scanmailbox form layout

This commit is contained in:
Eike Kettner 2021-04-11 20:38:00 +02:00
parent 7b1cbe6435
commit f91f4340b8

View File

@ -883,22 +883,6 @@ viewGeneral2 texts settings model =
[ text texts.mailbox [ text texts.mailbox
, B.inputRequired , B.inputRequired
] ]
, div [ class "mb-4" ]
[ label [ class S.inputLabel ]
[ text texts.summary
]
, input
[ type_ "text"
, onInput SetSummary
, class S.textInput
, Maybe.withDefault "" model.summary
|> value
]
[]
, span [ class "opacity-50 text-sm" ]
[ text texts.summaryInfo
]
]
, Html.map ConnMsg , Html.map ConnMsg
(Comp.Dropdown.view2 (Comp.Dropdown.view2
connectionCfg connectionCfg
@ -909,6 +893,22 @@ viewGeneral2 texts settings model =
[ text texts.connectionInfo [ text texts.connectionInfo
] ]
] ]
, div [ class "mb-4" ]
[ label [ class S.inputLabel ]
[ text texts.summary
]
, input
[ type_ "text"
, onInput SetSummary
, class S.textInput
, Maybe.withDefault "" model.summary
|> value
]
[]
, span [ class "opacity-50 text-sm" ]
[ text texts.summaryInfo
]
]
] ]
@ -924,7 +924,7 @@ viewProcessing2 texts model =
model.folders model.folders
model.foldersModel model.foldersModel
) )
, span [ class "opacity-50 text-sm mt-1" ] , span [ class "opacity-50 text-sm" ]
[ text texts.foldersInfo [ text texts.foldersInfo
] ]
] ]