Skip to content

Commit c8d98a4

Browse files
authored
Fix specificity issue in color slider thumb (#3849)
1 parent 38d44a4 commit c8d98a4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/@adobe/spectrum-css-temp/components/colorslider/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252

5353
cursor: default;
5454

55+
.spectrum-ColorSlider-handle.spectrum-ColorSlider-handle {
56+
margin: 0;
57+
}
58+
5559
/* The checkerboard is a separate element so that the gradient is overlaid on top. */
5660
&:before {
5761
content: "";

packages/@adobe/spectrum-css-temp/components/colorslider/skin.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
background: var(--spectrum-colorslider-fill-color-disabled) !important;
2121
box-shadow: inset 0 0 0 var(--spectrum-colorslider-border-size) var(--spectrum-colorslider-border-color-disabled);
2222
}
23-
24-
.spectrum-ColorSlider-handle {
25-
margin: 0;
26-
}
2723
}
2824

2925
@media (forced-colors: active) {
@@ -34,4 +30,4 @@
3430
--spectrum-colorslider-border-color: ButtonText;
3531
--spectrum-colorarea-border-color: ButtonText;
3632
}
37-
}
33+
}

0 commit comments

Comments
 (0)