mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-07-04 16:48:26 +00:00
Improve document list view
Replace the html table with something that has more vertical space, but scales better horizontally. On most screens at least 6-8 entries should be visible at once.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
module Page.Home.View exposing (view)
|
||||
|
||||
import Comp.ItemList
|
||||
import Comp.ItemCardList
|
||||
import Comp.SearchMenu
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
@ -45,7 +45,7 @@ view model =
|
||||
resultPlaceholder
|
||||
|
||||
else
|
||||
Html.map ItemListMsg (Comp.ItemList.view model.itemListModel)
|
||||
Html.map ItemCardListMsg (Comp.ItemCardList.view model.itemListModel)
|
||||
|
||||
Detail ->
|
||||
div [] []
|
||||
|
Reference in New Issue
Block a user