fix(form): text与同行元素不对齐问题

This commit is contained in:
roymondchen 2025-10-13 19:28:18 +08:00
parent 83bf36d980
commit cae11dce12
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div style="width: 100%"> <div class="m-fields-text">
<TMagicInput <TMagicInput
v-model="model[name]" v-model="model[name]"
ref="input" ref="input"

View File

@ -1,3 +1,9 @@
.m-fields-text {
display: flex;
align-items: center;
width: 100%;
}
.m-form-validate__warning { .m-form-validate__warning {
color: var(--el-color-warning); color: var(--el-color-warning);
font-size: 12px; font-size: 12px;