Skip to content

Commit

Permalink
feat(range): 更改 Range 滑块的大小
Browse files Browse the repository at this point in the history
  • Loading branch information
koppthe committed Nov 26, 2018
1 parent 3c3e070 commit efe4be2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/range/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class AtRange extends AtComponent {
min: 0,
max: 100,
disabled: false,
blockSize: 22,
blockSize: 28,
onChange: defaultFunc,
onAfterChange: defaultFunc
}
Expand Down
5 changes: 2 additions & 3 deletions src/components/range/index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "../../style/theme/default.scss";
@import "../../style/mixins/index.scss";

$height: 22PX;
$height: 28PX;

.at-range {
position: relative;
Expand Down Expand Up @@ -43,9 +43,8 @@ $height: 22PX;
height: $height;
margin-left: - $height / 2;
border-radius: 50%;
border: 1px solid $color-border-grey;
box-shadow: 0 4px 4px 0 $color-border-grey;
background-color: #fff;
box-shadow: 0 0 4PX 0 rgba(0, 0, 0, 0.30);
box-sizing: border-box;
}

Expand Down

0 comments on commit efe4be2

Please sign in to comment.