Commit feab6b3b by Netfan Committed by GitHub

fix: form item style adjustment (#5694)

1 parent 2d4ac330
...@@ -320,9 +320,8 @@ onUnmounted(() => { ...@@ -320,9 +320,8 @@ onUnmounted(() => {
<VbenRenderContent :content="label" /> <VbenRenderContent :content="label" />
</template> </template>
</FormLabel> </FormLabel>
<div class="w-full overflow-hidden"> <div class="flex-auto overflow-hidden">
<div :class="cn('relative flex w-full items-center', wrapperClass)"> <div :class="cn('relative flex w-full items-center', wrapperClass)">
<div class="flex-auto overflow-hidden p-[2px]">
<FormControl :class="cn(controlClass)"> <FormControl :class="cn(controlClass)">
<slot <slot
v-bind="{ v-bind="{
...@@ -356,8 +355,6 @@ onUnmounted(() => { ...@@ -356,8 +355,6 @@ onUnmounted(() => {
</component> </component>
</slot> </slot>
</FormControl> </FormControl>
</div>
<!-- 自定义后缀 --> <!-- 自定义后缀 -->
<div v-if="suffix" class="ml-1"> <div v-if="suffix" class="ml-1">
<VbenRenderContent :content="suffix" /> <VbenRenderContent :content="suffix" />
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!