mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
perf: 优化滚动条导致页面抖动的情况
This commit is contained in:
parent
0af07058df
commit
333d4517b5
33
resources/assets/sass/pages/common.scss
vendored
33
resources/assets/sass/pages/common.scss
vendored
@ -534,39 +534,6 @@ body {
|
||||
.ivu-table-body {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
overflow-y: overlay !important;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border: 3px solid transparent;
|
||||
background-color: rgba(0, 0, 0, .2);
|
||||
background-clip: content-box;
|
||||
border-radius: 12px;
|
||||
&:hover {
|
||||
border: 2px solid transparent;
|
||||
background-color: rgba(0, 0, 0, .2);
|
||||
}
|
||||
&:active {
|
||||
border: 2px solid transparent;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
}
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
border-radius: 12px;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -670,7 +670,8 @@
|
||||
min-width: 220px;
|
||||
max-width: 280px;
|
||||
max-height: 360px;
|
||||
overflow-y: overlay;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
||||
&.task-mention {
|
||||
.ql-mention-list {
|
||||
@ -688,38 +689,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border: 3px solid transparent;
|
||||
background-color: rgba(0, 0, 0, .2);
|
||||
background-clip: content-box;
|
||||
border-radius: 12px;
|
||||
&:hover {
|
||||
border: 2px solid transparent;
|
||||
background-color: rgba(0, 0, 0, .2);
|
||||
}
|
||||
&:active {
|
||||
border: 2px solid transparent;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
}
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
border-radius: 12px;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.ql-mention-list {
|
||||
> li {
|
||||
&:first-child {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user