Skip to content

Commit ff3d9bd

Browse files
committed
Merge pull request #4679 from FLHerne/patch-1
Hide Firefox's focus outline on range inputs
2 parents cf4faf4 + dff98d8 commit ff3d9bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: scss/_range.scss

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
background-size: 99% $range-track-height;
2121
background-repeat: no-repeat;
2222
-webkit-appearance: none;
23+
24+
&::-moz-focus-outer {
25+
/* hide the focus outline in Firefox */
26+
border: 0;
27+
}
2328

2429
&::-webkit-slider-thumb {
2530
position: relative;
@@ -150,4 +155,4 @@
150155
.range input{
151156
height:auto;
152157
}
153-
}
158+
}

0 commit comments

Comments
 (0)