feat: 整理目录结构
This commit is contained in:
3
src/styles/reset/reset-antdv.less
Normal file
3
src/styles/reset/reset-antdv.less
Normal file
@@ -0,0 +1,3 @@
|
||||
.anticon svg {
|
||||
vertical-align: unset; /* baseline */
|
||||
}
|
41
src/styles/reset/reset-primevue.css
Normal file
41
src/styles/reset/reset-primevue.css
Normal 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;
|
||||
}
|
3
src/styles/reset/reset-vant.css
Normal file
3
src/styles/reset/reset-vant.css
Normal file
@@ -0,0 +1,3 @@
|
||||
:root:root {
|
||||
--van-base-font: var(--h-base-font);
|
||||
}
|
@@ -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)),
|
||||
|
Reference in New Issue
Block a user