Skip to content

Commit

Permalink
fix(range): remove unnecessary thumb positioning for firefox (port of #…
Browse files Browse the repository at this point in the history
…1055) (#1062)

## PR Checklist

Please check if your PR fulfills the following requirements:

- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
- [ ] If applicable, have a visual design approval

## PR Type

What kind of change does this PR introduce?

<!-- Please check the one that applies to this PR using "x". -->

- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:

## What is the current behavior?

<!-- Please describe the current behavior that you are modifying, or
link to a relevant issue. -->

Issue Number: CDE-1449

## What is the new behavior?

## Does this PR introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this PR contains a breaking change, please describe the impact
and migration path for existing applications below. -->

## Other information
  • Loading branch information
mivaylo authored Nov 16, 2023
1 parent bd2402c commit 002af03
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions projects/angular/src/forms/styles/_range.clarity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
}
&:disabled::-moz-range-thumb {
border: 0;
transform: translate(0, var(--clr-forms-range-thumb-margin-top, forms-variables.$clr-forms-range-thumb-margin));

@include forms-mixins.range-thumb-style(
forms-variables.$clr-forms-range-thumb-margin,
Expand Down Expand Up @@ -166,7 +165,6 @@

&::-moz-range-thumb {
border: 0;
transform: translate(0, var(--clr-forms-range-thumb-margin-top, forms-variables.$clr-forms-range-thumb-margin));

@include forms-mixins.range-thumb-style(
forms-variables.$clr-forms-range-thumb-margin,
Expand Down

0 comments on commit 002af03

Please sign in to comment.