bugfix: disable opacity on gcode thumbnail tooltips

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2021-05-25 21:03:29 +02:00
parent 51fa7bda9e
commit cb7df834a2
3 changed files with 6 additions and 2 deletions

View File

@ -24,3 +24,7 @@
user-select: auto;
-webkit-user-select: auto;
}
.tooltip__content-opacity1 {
opacity: 1 !important;
}

View File

@ -77,7 +77,7 @@
</v-col>
<v-col class="pa-2 pl-0 col-auto" v-if="thumbnailSmall">
<template v-if="thumbnailSmall && thumbnailBig">
<v-tooltip top>
<v-tooltip top content-class="tooltip__content-opacity1">
<template v-slot:activator="{ on, attrs }">
<vue-load-image class="d-flex">
<img slot="image" :src="thumbnailSmall" width="32" height="32" v-bind="attrs" v-on="on" />

View File

@ -159,7 +159,7 @@
</template>
<template v-else>
<template v-if="getSmallThumbnail(item) && getBigThumbnail(item)">
<v-tooltip v-if="!item.isDirectory && getSmallThumbnail(item) && getBigThumbnail(item)" top>
<v-tooltip v-if="!item.isDirectory && getSmallThumbnail(item) && getBigThumbnail(item)" top content-class="tooltip__content-opacity1">
<template v-slot:activator="{ on, attrs }">
<vue-load-image>
<img slot="image" :src="getSmallThumbnail(item)" width="32" height="32" v-bind="attrs" v-on="on" />