Skip to content

Commit

Permalink
Fixed issues with z-index of marks and overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenthoms committed Jan 12, 2024
1 parent 82710b5 commit 3aa8dad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/lib/components/Slider/slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ export const Slider = React.forwardRef((props: SliderProps, ref: React.Forwarded
slotProps={{
root: {
className: resolveClassNames(
orientation === "vertical" ? "w-3" : "w-full",
orientation === "vertical" ? "h-full" : "h-3",
orientation === "vertical" ? "w-3" : "w-full mx-3",
orientation === "vertical" ? "h-full my-3" : "h-3",
"cursor-pointer",
"touch-action-none",
"inline-block",
Expand Down Expand Up @@ -273,7 +273,7 @@ export const Slider = React.forwardRef((props: SliderProps, ref: React.Forwarded
"border-white",
"transform",
orientation === "vertical" ? "-translate-y-0" : "",
"z-40"
"z-20"
),
},
}}
Expand Down

0 comments on commit 3aa8dad

Please sign in to comment.