feat: 移除消息组件的简单变体并添加样式调整
All checks were successful
/ test (push) Successful in 21s
/ surge (push) Successful in 24s

This commit is contained in:
严浩
2025-01-02 11:27:35 +08:00
parent 17c4afefd9
commit 33c3e5c31d

View File

@ -2,7 +2,6 @@
<Message
severity="error"
size="small"
variant="simple"
>
<!-- <template #container> -->
<ul class="my-0 flex flex-col gap-1">
@ -24,3 +23,9 @@ import { type FormKitFrameworkContext } from '@formkit/core';
import Message from 'primevue/message';
defineProps<{ context: FormKitFrameworkContext }>();
</script>
<style>
.p-floatlabel + .p-message {
margin-top: 0.25rem;
}
</style>