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