show edit icon on hover the outer box

This commit is contained in:
Alex Turchyn authored and DocuSeal committed 2023-10-25 20:09:34 +03:00
1 parent 4c99bbb58a
commit e704e6fa04
3 files changed
+3 -3

No files matched your search

@@ -24,7 +24,7 @@
*
</span>
<IconPencil
class="cursor-pointer flex-none opacity-0 group-hover/contenteditable:opacity-100 align-middle peer-focus:hidden"
class="cursor-pointer flex-none opacity-0 group-hover/contenteditable-container:opacity-100 group-hover/contenteditable:opacity-100 align-middle peer-focus:hidden"
:style="iconInline ? {} : { right: -(1.1 * iconWidth) + 'px' }"
title="Edit"
:class="{ 'ml-1': !withRequired, 'absolute': !iconInline, 'inline align-bottom': iconInline }"