Skip to content

Commit

Permalink
feat: use content-class for tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Mar 13, 2023
1 parent ff21d93 commit d59624a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</v-col>
<v-col cols='auto' class='mr-3'>
<v-icon :icon='mdiMinusThick' size='x-large' color='primary' @click='minimize' />
<v-tooltip activator='parent' v-if='show_tooltip' location='left center' class='tooltip-z'>
<v-tooltip activator='parent' v-if='show_tooltip' location='left center' content-class='tooltip'>
close to system tray
</v-tooltip>

Expand Down
2 changes: 1 addition & 1 deletion src/components/ResumeTooltip.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>

<v-tooltip activator='parent' v-if='paused' location='top center' class='tooltip-z'>
<v-tooltip activator='parent' v-if='paused' location='top center' content-class='tooltip'>
resume to alter
</v-tooltip>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/scss/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ html {
cursor: pointer;
}

.tooltip-z .v-overlay__content {
.tooltip {
opacity: .90 !important;
background: black !important;
text-transform: lowercase !important;
Expand Down

0 comments on commit d59624a

Please sign in to comment.