Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #223 from multinet-app/fix-tooltips
Browse files Browse the repository at this point in the history
Fix tooltip positioning bug
  • Loading branch information
waxlamp committed Dec 30, 2019
2 parents 2fd67bf + 4a4f712 commit f2c5901
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 5 additions & 4 deletions client/src/components/DeleteWorkspaceDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
<v-dialog
v-model="dialog"
width="700"
v-if="somethingChecked"
>

<template v-slot:activator="{ on }">
<template v-slot:activator="{ on: dialog }">
<v-tooltip right>
<template v-slot:activator="tooltip">
<template v-slot:activator="{ on: tooltip }">
<v-scroll-x-transition>
<v-btn
icon
small
text
v-if="somethingChecked"
v-on="on"
@click="dialog.click"
v-on="tooltip"
>
<v-icon color="red accent-3" size="22px">delete_sweep</v-icon>
</v-btn>
Expand Down
3 changes: 1 addition & 2 deletions client/src/components/ItemPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@

<v-spacer />

<v-tooltip top>
<v-tooltip top v-if="anySelected">
<template v-slot:activator="{ on }">
<v-scroll-x-transition>
<v-btn
icon
small
text
v-if="anySelected"
v-on="on"
>
<v-icon color="red accent-2" size="22px">delete_sweep</v-icon>
Expand Down

0 comments on commit f2c5901

Please sign in to comment.