生产管理系统前端 - 多滚动条问题解决
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
.bodyFlexUpDown{
|
.bodyFlexUpDown{
|
||||||
|
overflow-x:hidden;
|
||||||
|
overflow-y: hidden;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -13,6 +15,7 @@
|
|||||||
.sidebarScroll{
|
.sidebarScroll{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
overflow-x:hidden;
|
||||||
}
|
}
|
||||||
.sidebarScroll>div{
|
.sidebarScroll>div{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -21,4 +24,10 @@
|
|||||||
.contentScroll{
|
.contentScroll{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 滚动条颜色变量 */
|
||||||
|
:root {
|
||||||
|
--scrollbar-color: #d1d5db;
|
||||||
|
--scrollbar-hover: #9ca3af;
|
||||||
}
|
}
|
||||||
@@ -236,7 +236,7 @@
|
|||||||
|
|
||||||
/* 滚动条样式 */
|
/* 滚动条样式 */
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 6px;
|
width: 5px;
|
||||||
height: 6px;
|
height: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -245,12 +245,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
background: rgb(var(--border));
|
background: hsl(var(--muted-foreground));
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb:hover {
|
::-webkit-scrollbar-thumb:hover {
|
||||||
background: rgb(var(--muted-foreground));
|
background: hsl(var(--muted-foreground));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 动画 */
|
/* 动画 */
|
||||||
|
|||||||
Reference in New Issue
Block a user