Skip to content

Commit

Permalink
fix: optimize style of slider example
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed Aug 4, 2021
1 parent a912564 commit 8940bb6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions packages/varlet-ui/src/slider/docs/en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ The props such as `label-visible`, `label-text-color`, `thumb-size` are invalid
```
```css
.slider-example_block {
width: 25px;
width: 24px;
border: 1px solid #52af77;
color: #52af77;
height: 25px;
height: 24px;
margin: 0 -12px;
display: flex;
align-items: center;
justify-content: center;
Expand Down
5 changes: 3 additions & 2 deletions packages/varlet-ui/src/slider/docs/zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ export default {
```
```css
.slider-example_block {
width: 25px;
width: 24px;
border: 1px solid #52af77;
color: #52af77;
height: 25px;
height: 24px;
margin: 0 -12px;
display: flex;
align-items: center;
justify-content: center;
Expand Down
5 changes: 3 additions & 2 deletions packages/varlet-ui/src/slider/example/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,11 @@ export default {
</script>
<style lang="less" scoped>
.slider-example_block {
width: 25px;
width: 24px;
border: 1px solid #52af77;
color: #52af77;
height: 25px;
height: 24px;
margin: 0 -12px;
display: flex;
align-items: center;
justify-content: center;
Expand Down

0 comments on commit 8940bb6

Please sign in to comment.