feat(Slider): improve click area (#4701)

This commit is contained in:
neverland
2019-10-12 11:33:40 +08:00
committed by GitHub
parent 696c9d71d5
commit 4ea506c559
2 changed files with 12 additions and 2 deletions
+10
View File
@@ -5,6 +5,16 @@
background-color: @slider-inactive-background-color;
border-radius: 999px;
// use pseudo element to expand click area
&::before {
position: absolute;
top: -@padding-xs;
right: 0;
bottom: -@padding-xs;
left: 0;
content: '';
}
&__bar {
position: relative;
background-color: @slider-active-background-color;