feat: 调整 Toast 组件样式,优化消息文本的上边距
Some checks failed
/ depcheck (push) Failing after 0s
/ playwright (push) Failing after 53s
/ build-and-deploy-to-vercel (push) Failing after 0s

This commit is contained in:
严浩
2024-12-11 15:00:25 +08:00
parent b166cc9d60
commit 294c73df09

View File

@ -49,4 +49,7 @@ const ToastService: ToastServiceMethods = {
.p-toast {
max-width: calc(100% - 50px);
}
.p-toast .p-toast-message-text {
margin-top: -0.2rem;
}
</style>