Skip to content

Commit 0ef0e42

Browse files
pkp/pkp-lib#11008 Fix UI issues with Slider component (#545)
* pkp/pkp-lib#11008 Fix Slider range styling * pkp/pkp-lib#11008 Add unstyled prop to Slider component
1 parent 18d91e4 commit 0ef0e42

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/Form/fields/FieldSlider.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
:max="max"
4646
:step="step"
4747
class="w-full"
48+
unstyled
4849
:aria-labelledby="labelId"
4950
:pt="sliderStyling"
5051
/>
@@ -111,7 +112,7 @@ export default {
111112
// Position
112113
'block absolute',
113114
{
114-
'top-0 left-0': props.orientation == 'horizontal',
115+
'top-0 start-0': props.orientation == 'horizontal',
115116
},
116117
//Size
117118
{
@@ -133,9 +134,9 @@ export default {
133134
'h-[1.143rem]',
134135
'w-[1.143rem]',
135136
{
136-
'top-[50%] mt-[-0.5715rem] ml-[-0.5715rem]':
137+
'top-[50%] mt-[-0.5715rem] ms-[-0.5715rem]':
137138
props.orientation == 'horizontal',
138-
'left-[50%] mb-[-0.5715rem] ml-[-0.5715rem]':
139+
'start-[50%] mb-[-0.5715rem] ms-[-0.5715rem]':
139140
props.orientation == 'vertical',
140141
},
141142
// Shape

0 commit comments

Comments
 (0)