mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Allow to hide the search menu
This is more convenient on small screens
This commit is contained in:
@ -79,16 +79,13 @@ view model =
|
||||
|
||||
viewGroup : ItemLightGroup -> Html Msg
|
||||
viewGroup group =
|
||||
div [] <|
|
||||
List.concat
|
||||
[ [ div [ class "ui horizontal divider" ]
|
||||
[ text group.name
|
||||
]
|
||||
]
|
||||
, [ div [ class "ui one column grid" ]
|
||||
(List.map viewItem group.items)
|
||||
]
|
||||
div [ class "item-group" ]
|
||||
[ div [ class "ui horizontal divider" ]
|
||||
[ text group.name
|
||||
]
|
||||
, div [ class "ui one column grid" ]
|
||||
(List.map viewItem group.items)
|
||||
]
|
||||
|
||||
|
||||
viewItem : ItemLight -> Html Msg
|
||||
|
Reference in New Issue
Block a user