Skip to content

Commit

Permalink
Merge pull request #3020 from jemrobinson/3009-popper-css-warning
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnrusschen authored Jun 2, 2021
2 parents cae24dc + 37ab4b4 commit a2acfd5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/stylesheets/datepicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
z-index: 1;

&[data-placement^="bottom"] {
margin-top: $datepicker__triangle-size + 2px;
padding-top: $datepicker__triangle-size + 2px;

.react-datepicker__triangle {
@extend %triangle-arrow-up;
Expand All @@ -59,15 +59,15 @@
}

&[data-placement^="top"] {
margin-bottom: $datepicker__triangle-size + 2px;
padding-bottom: $datepicker__triangle-size + 2px;

.react-datepicker__triangle {
@extend %triangle-arrow-down;
}
}

&[data-placement^="right"] {
margin-left: $datepicker__triangle-size;
padding-left: $datepicker__triangle-size;

.react-datepicker__triangle {
left: auto;
Expand All @@ -76,7 +76,7 @@
}

&[data-placement^="left"] {
margin-right: $datepicker__triangle-size;
padding-right: $datepicker__triangle-size;

.react-datepicker__triangle {
left: 42px;
Expand Down

0 comments on commit a2acfd5

Please sign in to comment.