Made slider tooltips appear below the slider

This commit is contained in:
thepaperpilot 2022-05-20 00:51:37 -05:00
parent f23541f3a6
commit 0ead4e8ce0

View file

@ -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;