mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 10:29:34 +00:00
parent
5f10798e86
commit
bafb930877
@ -807,7 +807,7 @@ previewImage2 texts cfg settings model item =
|
||||
([ class "overflow-hidden block bg-gray-50 dark:bg-slate-700 dark:bg-opacity-40 border-gray-400 dark:hover:border-slate-500 w-full"
|
||||
, classList
|
||||
[ ( "rounded-t-lg", isCardView )
|
||||
, ( Data.UiSettings.cardPreviewSize2 settings, isCardView && not isRowOpen )
|
||||
, ( Data.UiSettings.cardPreviewSize2 settings, isCardView )
|
||||
]
|
||||
]
|
||||
++ mkCardAction texts cfg settings item
|
||||
|
@ -330,7 +330,11 @@ defaultMenuBar texts flags settings model =
|
||||
, label = texts.showItemGroups
|
||||
, attrs =
|
||||
[ href "#"
|
||||
, onClick ToggleShowGroups
|
||||
, if List.length model.itemListModel.results.groups <= 1 then
|
||||
class ""
|
||||
|
||||
else
|
||||
onClick ToggleShowGroups
|
||||
]
|
||||
}
|
||||
, { icon =
|
||||
|
Loading…
x
Reference in New Issue
Block a user