File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed
components/date-picker/style Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -921,28 +921,19 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
921
921
overflowX : 'hidden' ,
922
922
923
923
'&::-webkit-scrollbar' : {
924
- width : '7px' ,
925
- backgroundColor : ' #f1f1f1 ' ,
924
+ width : 8 ,
925
+ backgroundColor : 'transparent ' ,
926
926
} ,
927
927
928
928
'&::-webkit-scrollbar-thumb' : {
929
- backgroundColor : '#b6b2b2' ,
930
- borderRadius : '5px' ,
929
+ backgroundColor : token . colorTextTertiary ,
930
+ borderRadius : 4 ,
931
931
} ,
932
932
933
- '&::-webkit-scrollbar-thumb:hover' : {
934
- backgroundColor : '#7a7a7a' ,
935
- } ,
936
- // 兼容firefox
933
+ // For Firefox
937
934
'&' : {
938
935
scrollbarWidth : 'thin' ,
939
- scrollbarColor : `#b6b2b2 #f1f1f1` ,
940
- } ,
941
- '&::-moz-scrollbar-thumb' : {
942
- backgroundColor : '#b6b2b2' ,
943
- } ,
944
- '&::-moz-scrollbar-track' : {
945
- backgroundColor : ' #f1f1f1' ,
936
+ scrollbarColor : `${ token . colorTextTertiary } transparent` ,
946
937
} ,
947
938
948
939
'&::after' : {
You can’t perform that action at this time.
0 commit comments