Skip to content

Commit d25d0d7

Browse files
Jefski14martijnrusschen
authored andcommitted
Patch #1389 Clear Field not clickable in Firefox (#1437)
* Clear Icon not clickable in Firefox - Bugfix #1389 Bugfix for #1389 . Clear Icon is not clickable in Firefox because hidden button has no width/height. * Fixed missspelled word
1 parent 93c46ed commit d25d0d7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/stylesheets/datepicker.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,14 @@
466466
background-color: transparent;
467467
border: 0;
468468
cursor: pointer;
469-
display: inline-block;
470-
height: 0;
471469
outline: 0;
472470
padding: 0;
473471
vertical-align: middle;
472+
position: absolute;
473+
height: 16px;
474+
width: 16px;
475+
top: 25%;
476+
right: 7px;
474477

475478
&::after {
476479
background-color: $datepicker__selected-color;
@@ -487,9 +490,8 @@
487490
margin: -8px auto 0;
488491
padding: 2px;
489492
position: absolute;
490-
right: 7px;
493+
right: 0px;
491494
text-align: center;
492-
top: 50%;
493495
}
494496
}
495497

0 commit comments

Comments
 (0)