diff options
author | 2023-10-14 18:24:54 +0200 | |
---|---|---|
committer | 2023-10-14 16:24:54 +0000 | |
commit | 025f556023c29f8f31dc00870c80a9d790bbb2f4 (patch) | |
tree | 2886353373cc17b24f97c31f6e8880fd335c443c /src/tools/benchmark-builder/dynamic-values.vue | |
parent | 2d2dffb14a2b51f931934055b5a59e51a070ff93 (diff) | |
download | it-tools-025f556023c29f8f31dc00870c80a9d790bbb2f4.tar.gz it-tools-025f556023c29f8f31dc00870c80a9d790bbb2f4.tar.zst it-tools-025f556023c29f8f31dc00870c80a9d790bbb2f4.zip |
refactor(ui): switched naive tooltip components to custom ones (#661)
Diffstat (limited to 'src/tools/benchmark-builder/dynamic-values.vue')
-rw-r--r-- | src/tools/benchmark-builder/dynamic-values.vue | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/tools/benchmark-builder/dynamic-values.vue b/src/tools/benchmark-builder/dynamic-values.vue index 975a545..e048ef9 100644 --- a/src/tools/benchmark-builder/dynamic-values.vue +++ b/src/tools/benchmark-builder/dynamic-values.vue @@ -39,14 +39,11 @@ function onInputEnter(index: number) { autofocus @keydown.enter="onInputEnter(index)" /> - <n-tooltip> - <template #trigger> - <c-button circle variant="text" @click="values.splice(index, 1)"> - <n-icon :component="Trash" depth="3" size="18" /> - </c-button> - </template> - Delete value - </n-tooltip> + <c-tooltip tooltip="Delete this value"> + <c-button circle variant="text" @click="values.splice(index, 1)"> + <n-icon :component="Trash" depth="3" size="18" /> + </c-button> + </c-tooltip> </div> <c-button @click="addValue"> |