fix linter issues

This commit is contained in:
Simon Vieille
2025-04-10 20:02:02 +02:00
parent f9c3f96919
commit 8474f0945b
15 changed files with 148 additions and 132 deletions
+18 -18
View File
@@ -3,35 +3,20 @@
<em v-if="prepend">{{ t('side_menu', prepend) }}</em>
<input
v-model="model"
type="range"
:min="min"
:max="max"
v-model="model"
/>
<em v-if="append">{{ t('side_menu', append) }}</em>
</div>
</template>
<style scoped>
input {
min-height: auto;
}
div * {
vertical-align: middle;
}
em + input,
input + em {
margin-left: 10px;
}
</style>
<script setup>
const model = defineModel()
const model = defineModel({ type: Number })
const { prefix, suffix } = defineProps({
defineProps({
prepend: {
type: [String, null],
required: false,
@@ -54,3 +39,18 @@ const { prefix, suffix } = defineProps({
},
})
</script>
<style scoped>
input {
min-height: auto;
}
div * {
vertical-align: middle;
}
em + input,
input + em {
margin-left: 10px;
}
</style>