feat: 移除消息组件的简单变体并添加样式调整
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user