fix: make inline el-form a flex container so search buttons align right

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
liuyun 2026-10-11 09:50:45 +08:00
parent bc26c0aa93
commit 1699fee4a8
2 changed files with 8 additions and 1 deletions

View File

@ -141,3 +141,10 @@ defineExpose({
clearValidate: () => formRef.value?.clearValidate(),
})
</script>
<style scoped lang="scss">
/* inline 模式下让 el-form 成为 flex 容器,使「查询/重置」按钮可通过 ml-auto 贴右 */
.el-form--inline {
@apply flex flex-wrap items-center;
}
</style>

File diff suppressed because one or more lines are too long