feat: 整理目录结构

This commit is contained in:
严浩
2025-03-25 10:36:19 +08:00
parent 2482608a2e
commit 2df09cf33f
13 changed files with 21 additions and 21 deletions

View File

@@ -0,0 +1,3 @@
.anticon svg {
vertical-align: unset; /* baseline */
}

View File

@@ -0,0 +1,41 @@
.p-confirmdialog,
.p-toast {
max-width: calc(100% - 50px);
}
.p-toast .p-toast-message-text {
margin-top: -0.2rem;
}
.p-floatlabel:has(.p-fileupload) label {
top: var(--p-floatlabel-over-active-top);
transform: translateY(0);
font-size: var(--p-floatlabel-active-font-size);
font-weight: var(--p-floatlabel-label-active-font-weight);
}
.p-fileupload-file-name {
word-break: break-all;
}
.p-fileupload-content .p-progressbar {
--p-fileupload-progressbar-height: 1rem;
}
.p-dialog {
overflow: hidden;
}
.p-cascadeselect-list-container {
max-height: calc(100vh - 10rem);
overflow-y: auto;
}
/* flex布局子元素宽度超出父元素问题 */
.p-select-label {
min-width: 0 !important;
width: 0 !important;
}
.p-message-text {
word-break: break-all;
}

View File

@@ -0,0 +1,3 @@
:root:root {
--van-base-font: var(--h-base-font);
}

View File

@@ -1,4 +1,8 @@
/* https://github.com/unocss/unocss/issues/2127 */
/* https://unocss.dev/guide/style-reset#tailwind-compat */
/* The background color of some button styles in component libraries are lost when referencing the tailwind.css file.
https://github.com/unocss/unocss/issues/2127
*/
:where(button:not(.ant-btn):not(.p-button)),
:where([type='button']:not(.ant-btn):not(.p-button)),