Skip to content

Commit

Permalink
fix: 修复打包后自定义表单样式问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayun zhang committed Sep 17, 2022
1 parent f692a1b commit eb5a77d
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions src/views/customForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,27 +130,12 @@ if (app && !app.config.globalProperties.$initCreate) {
}
}
//为了兼容暗黑模式对create-form样式做的覆盖
:global(#app) {
:global(body #app) {
color: unset;
font-family: unset;
min-height: unset;
}
:global(::-webkit-scrollbar) {
width: unset;
height: unset;
}
:global(::-webkit-scrollbar-thumb) {
border-radius: unset;
background-color: unset;
}
:global(::-webkit-scrollbar-track) {
border-radius: unset;
background-color: unset;
}
:global(.fc-style ::-webkit-scrollbar) {
width: 5px;
height: 5px;
}
:global(.fc-style ::-webkit-scrollbar-thumb) {
border-radius: 1rem;
background-color: rgba(144, 147, 153, 0.3);
Expand Down

0 comments on commit eb5a77d

Please sign in to comment.