Skip to content

Commit b33dcb5

Browse files
authored
chore: fix slider indent (#13955)
1 parent 5fbb14d commit b33dcb5

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

packages/slider/src/main.vue

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<template>
2-
<div class="el-slider"
2+
<div
3+
class="el-slider"
34
:class="{ 'is-vertical': vertical, 'el-slider--with-input': showInput }"
4-
role="slider"
5-
:aria-valuemin="min"
6-
:aria-valuemax="max"
7-
:aria-orientation="vertical ? 'vertical': 'horizontal'"
8-
:aria-disabled="sliderDisabled"
5+
role="slider"
6+
:aria-valuemin="min"
7+
:aria-valuemax="max"
8+
:aria-orientation="vertical ? 'vertical': 'horizontal'"
9+
:aria-disabled="sliderDisabled"
910
>
1011
<el-input-number
1112
v-model="firstValue"
@@ -21,7 +22,8 @@
2122
:debounce="debounce"
2223
:size="inputSize">
2324
</el-input-number>
24-
<div class="el-slider__runway"
25+
<div
26+
class="el-slider__runway"
2527
:class="{ 'show-input': showInput, 'disabled': sliderDisabled }"
2628
:style="runwayStyle"
2729
@click="onSliderClick"

0 commit comments

Comments
 (0)