Fix table layout and notification form

The styling is broken if th elements are outside a tr. The
notification form had the same problem as the scan-mailbox form
reported in #382
This commit is contained in:
Eike Kettner
2020-11-15 00:09:29 +01:00
parent 46dbdd2625
commit 063c9895dd
7 changed files with 44 additions and 32 deletions

View File

@ -103,10 +103,12 @@ view model =
Nothing ->
table [ class "ui selectable pointer very basic table" ]
[ thead []
[ th [ class "collapsing" ] [ text "Recipients" ]
, th [] [ text "Subject" ]
, th [ class "collapsible" ] [ text "Sent" ]
, th [ class "collapsible" ] [ text "Sender" ]
[ tr []
[ th [ class "collapsing" ] [ text "Recipients" ]
, th [] [ text "Subject" ]
, th [ class "collapsible" ] [ text "Sent" ]
, th [ class "collapsible" ] [ text "Sender" ]
]
]
, tbody [] <|
List.map