mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 18:39:33 +00:00
Better align tags in multi-select field
This commit is contained in:
parent
4ef1996137
commit
e177336155
@ -755,7 +755,7 @@ viewMultiple2 style settings model =
|
||||
renderSelectMultiple item =
|
||||
a
|
||||
[ class (model.labelColor item.value settings)
|
||||
, class "label font-medium inline-flex relative items-center hover:shadow-md mt-1"
|
||||
, class "label font-medium inline-flex relative items-center hover:shadow-md mt-1 mr-1"
|
||||
, onClick (RemoveItem item)
|
||||
, href "#"
|
||||
]
|
||||
@ -776,7 +776,7 @@ viewMultiple2 style settings model =
|
||||
, class "flex inline-flex flex-wrap items-center"
|
||||
]
|
||||
[ div
|
||||
[ class "flex flex-row flex-wrap space-x-1 items-center mr-2 -mt-1"
|
||||
[ class "flex flex-row flex-wrap items-center mr-2 -mt-1"
|
||||
, classList [ ( "hidden", List.isEmpty model.selected ) ]
|
||||
]
|
||||
(List.map renderSelectMultiple model.selected)
|
||||
|
Loading…
x
Reference in New Issue
Block a user