Fix overflowing content in item cards

When displaying long lines this leads to horizontal scrolling the
complete item list.
This commit is contained in:
Eike Kettner 2021-02-14 23:18:18 +01:00
parent f29353adb3
commit 1dcc3941ed

View File

@ -604,7 +604,7 @@ view2 cfg settings model item =
in
div
([ class cfg.extraClasses
, class "ds-item-card relative hover:shadow-lg rounded-lg flex flex-col"
, class "ds-item-card relative hover:shadow-lg rounded-lg flex flex-col break-all"
, classList
[ ( "border border-gray-400 dark:border-bluegray-600 dark:hover:border-bluegray-500", not (isMultiSelectMode cfg) )
, ( "border-2 border-gray-800 border-dashed dark:border-lightblue-500", isMultiSelectMode cfg )