mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-06 15:15:58 +00:00
Try fix attachment selection for firefox
It works great in chromium, in firefox the border is a bit off.
This commit is contained in:
parent
9c90d7c4c2
commit
07edaaaf5e
@ -312,7 +312,7 @@ menuItem model pos attach =
|
|||||||
, ( "dark:border-bluegray-600", pos /= 0 )
|
, ( "dark:border-bluegray-600", pos /= 0 )
|
||||||
]
|
]
|
||||||
++ highlight
|
++ highlight
|
||||||
, class "block flex-col relative border rounded px-1 py-1 mr-2"
|
, class "flex flex-col relative border rounded px-1 py-1 mr-2"
|
||||||
, class " hover:shadow dark:hover:border-bluegray-500"
|
, class " hover:shadow dark:hover:border-bluegray-500"
|
||||||
, href "#"
|
, href "#"
|
||||||
, onClick (SetActiveAttachment pos)
|
, onClick (SetActiveAttachment pos)
|
||||||
@ -328,7 +328,7 @@ menuItem model pos attach =
|
|||||||
]
|
]
|
||||||
[ i [ class "fa fa-check-circle ml-1" ] []
|
[ i [ class "fa fa-check-circle ml-1" ] []
|
||||||
]
|
]
|
||||||
, div [ class "" ]
|
, div [ class "flex-grow" ]
|
||||||
[ img
|
[ img
|
||||||
[ src (Api.attachmentPreviewURL attach.id)
|
[ src (Api.attachmentPreviewURL attach.id)
|
||||||
, class "block w-20 mx-auto"
|
, class "block w-20 mx-auto"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user