mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 06:55:06 -04:00
refactor(c-key-value-list): got rid of table for layout (#611)
This commit is contained in:
parent
c7d4562d3b
commit
7ab9204e96
6 changed files with 49 additions and 33 deletions
|
@ -19,7 +19,10 @@ const isTargetHovered = useElementHover(targetRef);
|
|||
'op-100 scale-100': isTargetHovered,
|
||||
}"
|
||||
>
|
||||
<slot name="tooltip">
|
||||
<slot
|
||||
v-if="isTargetHovered"
|
||||
name="tooltip"
|
||||
>
|
||||
{{ tooltip }}
|
||||
</slot>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue