Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkp/pkp-lib#11008 Fix UI issues with Slider component #545

Merged
merged 2 commits into from
Mar 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/components/Form/fields/FieldSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
:max="max"
:step="step"
class="w-full"
unstyled
:aria-labelledby="labelId"
:pt="sliderStyling"
/>
Expand Down Expand Up @@ -111,7 +112,7 @@ export default {
// Position
'block absolute',
{
'top-0 left-0': props.orientation == 'horizontal',
'top-0 start-0': props.orientation == 'horizontal',
},
//Size
{
Expand All @@ -133,9 +134,9 @@ export default {
'h-[1.143rem]',
'w-[1.143rem]',
{
'top-[50%] mt-[-0.5715rem] ml-[-0.5715rem]':
'top-[50%] mt-[-0.5715rem] ms-[-0.5715rem]':
props.orientation == 'horizontal',
'left-[50%] mb-[-0.5715rem] ml-[-0.5715rem]':
'start-[50%] mb-[-0.5715rem] ms-[-0.5715rem]':
props.orientation == 'vertical',
},
// Shape
Expand Down