mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-21 16:13:54 +00:00
Fix non-centered slider in illuminati
This commit is contained in:
parent
3b9395e484
commit
d99020b422
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="field">
|
||||
<span class="field-title" v-if="title">{{ title }}</span>
|
||||
<tooltip :text="`${value}`">
|
||||
<tooltip :text="`${value}`" :class="{ fullWidth: !title }">
|
||||
<input type="range" :value="value" @input="e => $emit('change', parseInt(e.target.value))" :min="min" :max="max" />
|
||||
</tooltip>
|
||||
</div>
|
||||
|
@ -20,4 +20,7 @@ export default {
|
|||
</script>
|
||||
|
||||
<style scoped>
|
||||
.fullWidth {
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue