Skip to content

Commit

Permalink
fix: positioning of handle
Browse files Browse the repository at this point in the history
  • Loading branch information
mpleroux committed Sep 10, 2024
1 parent 0fc2ac4 commit 2615809
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions es-ds-components/components/es-slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const model = defineModel<number>();
},
}" />

<div class="d-flex flex-row justify-content-between w-100">
<div class="d-flex flex-row justify-content-between">
<span>{{ labelFormatter(min) }}</span>
<span>{{ labelFormatter(max) }}</span>
</div>
Expand All @@ -60,6 +60,8 @@ const model = defineModel<number>();
background-color: variables.$gray-300;
border-radius: 15px;
height: 10px;
margin-bottom: 0.75rem;
position: relative;
}
:deep(.slider-range) {
Expand All @@ -76,7 +78,7 @@ const model = defineModel<number>();
cursor: pointer;
filter: drop-shadow(0 1px 6px rgba(34, 38, 51, 0.25));
height: 28px;
transform: translate(0, -32%);
transform: translate(-54%, -32%);
width: 28px;
&:focus-visible {
Expand Down

0 comments on commit 2615809

Please sign in to comment.