Skip to content

Commit

Permalink
fix: build and range on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoninoBonanno authored and astagi committed Jul 14, 2023
1 parent ee0170c commit 50cb1e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class ItCheckboxComponent extends ItAbstractFormComponent<boolean | null
this.markAsChecked();
}

ngOnChanges(changes: SimpleChanges) {
override ngOnChanges(changes: SimpleChanges) {
if (changes['checked']) {
this.markAsChecked();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
.form-range.double-color::-webkit-slider-runnable-track {
background: linear-gradient(to right, var(--range-left-color) var(--range-percentage), var(--range-right-color) var(--range-percentage));
.form-range.double-color {
&::-webkit-slider-runnable-track {
background: linear-gradient(to right, var(--range-left-color) var(--range-percentage), var(--range-right-color) var(--range-percentage));
}

&::-moz-range-track {
background: linear-gradient(to right, var(--range-left-color) var(--range-percentage), var(--range-right-color) var(--range-percentage));
}
}

0 comments on commit 50cb1e1

Please sign in to comment.