Skip to content

Commit a1da70d

Browse files
kjbrummartijnrusschen
authored andcommitted
pdating triangle when "-end" is used (Hacker0x01#1965)
1 parent cc3d00b commit a1da70d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/stylesheets/datepicker.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@
5151
@extend %triangle-arrow-up;
5252
}
5353
}
54+
55+
&[data-placement="bottom-end"],
56+
&[data-placement="top-end"] {
57+
.react-datepicker__triangle {
58+
left: auto;
59+
right: 50px;
60+
}
61+
}
5462

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

0 commit comments

Comments
 (0)