improve settings components and scss

This commit is contained in:
Simon Vieille
2025-04-14 17:54:37 +02:00
parent 0313ce4099
commit c8194a4dcc
18 changed files with 804 additions and 951 deletions
+11 -18
View File
@@ -15,8 +15,12 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div>
<em v-if="prepend">{{ t('side_menu', prepend) }}</em>
<div class="cm-settings-form-range">
<em
class="cm-settings-form-range-prepend"
v-if="prepend"
>{{ t('side_menu', prepend) }}</em
>
<input
v-model="model"
@@ -25,7 +29,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
:max="max"
/>
<em v-if="append">{{ t('side_menu', append) }}</em>
<em
v-if="append"
class="cm-settings-form-range-append"
>{{ t('side_menu', append) }}</em
>
</div>
</template>
@@ -55,18 +63,3 @@ defineProps({
},
})
</script>
<style scoped>
input {
min-height: auto;
}
div * {
vertical-align: middle;
}
em + input,
input + em {
margin-left: 10px;
}
</style>