feat: 优化样式,修复文件上传组件的布局问题并增强消息文本的换行处理
All checks were successful
/ depcheck (push) Successful in 1m36s
/ playwright (push) Successful in 2m52s
/ build-and-deploy-to-vercel (push) Successful in 2m6s

This commit is contained in:
严浩
2025-01-01 23:43:31 +08:00
parent b46edb4aeb
commit ed9e505f0c

View File

@ -13,10 +13,6 @@
font-weight: var(--p-floatlabel-label-active-font-weight); font-weight: var(--p-floatlabel-label-active-font-weight);
} }
.p-fileupload-header {
flex-wrap: wrap;
}
.p-fileupload-file-name { .p-fileupload-file-name {
word-break: break-all; word-break: break-all;
} }
@ -34,8 +30,12 @@
overflow-y: auto; overflow-y: auto;
} }
// flex布局子元素宽度超出父元素问题 /* flex布局子元素宽度超出父元素问题 */
.p-select-label { .p-select-label {
min-width: 0 !important; min-width: 0 !important;
width: 0 !important; width: 0 !important;
} }
.p-message-text {
word-break: break-all;
}