Skip to content

Commit

Permalink
Move alerts tooltip to the right
Browse files Browse the repository at this point in the history
This way the tooltip doesn't get in the way of the user's mouse, preventing the alerter menu from closing when the mouse hovers the tolltip (thus unhovering the menu itself).
  • Loading branch information
rafaellehmkuhl authored and patrickelectric committed Sep 6, 2023
1 parent 95a9e79 commit a60ce49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/widgets/Alerter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
:class="{ 'opacity-0 invisible': !isShowingExpandedAlerts }"
>
<div v-for="(alert, i) in sortedAlertsReversed" :key="alert.time_created.toISOString()">
<div v-tooltip.bottom="alert.message" class="flex items-center justify-between whitespace-nowrap">
<div v-tooltip.right="alert.message" class="flex items-center justify-between whitespace-nowrap">
<p class="mx-1 overflow-hidden text-lg font-medium leading-none text-ellipsis">{{ alert.message }}</p>
<div
class="flex flex-col justify-center mx-1 font-mono text-xs font-semibold leading-3 text-right text-gray-100"
Expand Down

0 comments on commit a60ce49

Please sign in to comment.