Made slider tooltips appear below the slider
This commit is contained in:
parent
f23541f3a6
commit
0ead4e8ce0
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="field">
|
||||
<span class="field-title" v-if="title">{{ title }}</span>
|
||||
<Tooltip :display="`${value}`" :class="{ fullWidth: !title }">
|
||||
<Tooltip :display="`${value}`" :class="{ fullWidth: !title }" :direction="Direction.Down">
|
||||
<input type="range" v-model="value" :min="min" :max="max" />
|
||||
</Tooltip>
|
||||
</div>
|
||||
|
@ -11,6 +11,7 @@
|
|||
import { computed, toRefs, unref } from "vue";
|
||||
import Tooltip from "features/tooltips/Tooltip.vue";
|
||||
import "components/common/fields.css";
|
||||
import { Direction } from "util/common";
|
||||
|
||||
const _props = defineProps<{
|
||||
title?: string;
|
||||
|
|
Loading…
Reference in a new issue