Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
fix(Slider): slider styles
Browse files Browse the repository at this point in the history
  • Loading branch information
TheComputerM committed Sep 18, 2020
1 parent 694a7ec commit 7c15e31
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/svelte-materialify/src/components/Slider/Slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
position: absolute;
width: $slider-thumb-size;
height: $slider-thumb-size;
right: -$slider-thumb-size / 2;
top: -$slider-thumb-size / 2;
right: -$slider-thumb-size / 2 + 1;
top: -$slider-thumb-size / 2 + 1;
border-radius: $slider-thumb-border-radius;
background: currentColor;
cursor: default;
Expand Down Expand Up @@ -219,12 +219,17 @@
.s-input__slot {
min-height: 32px;
}

&.readonly {
pointer-events: none;
}
}

[disabled].s-slider__target {
.s-slider__connects,
.s-slider__connect,
.s-slider__handle {
background: var(--theme-text-disabled);
background-color: var(--theme-text-disabled);
}

.s-slider__handle {
Expand Down

0 comments on commit 7c15e31

Please sign in to comment.