Fixed scroll bars.
This commit is contained in:
parent
5e915fe8bc
commit
cccabfb063
@ -251,8 +251,15 @@ body {
|
||||
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
border-radius: 34px;
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar:vertical {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar:horizontal {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
/* Track */
|
||||
@ -263,13 +270,17 @@ body {
|
||||
/* Handle */
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #8888881a;
|
||||
border: 4px solid rgba(0, 0, 0, 0);
|
||||
border: 2px solid rgba(0, 0, 0, 0);
|
||||
background-clip: padding-box;
|
||||
transition: all 1s;
|
||||
-moz-transition: all 1s;
|
||||
-webkit-transition: all 1s;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-corner {
|
||||
background: #00000000; /* The scroll corner color */
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:vertical {
|
||||
border-left: none;
|
||||
}
|
||||
@ -281,7 +292,7 @@ body {
|
||||
/* Handle on hover */
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #5555551f;
|
||||
border: 4px solid rgba(0, 0, 0, 0);
|
||||
border: 2px solid rgba(0, 0, 0, 0);
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
@ -291,4 +302,8 @@ body {
|
||||
|
||||
::-webkit-scrollbar-thumb:horizontal:hover {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.ant-table-body {
|
||||
scrollbar-color: auto;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user