refactor(c-key-value-list): got rid of table for layout (#611)

This commit is contained in:
Corentin THOMASSET 2023-09-03 18:12:22 +02:00 committed by GitHub
parent c7d4562d3b
commit 7ab9204e96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 49 additions and 33 deletions

View file

@ -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>