Skip to content

Commit d9a9a5e

Browse files
committed
Position up and down arrows in the center no matter what.
1 parent 95df192 commit d9a9a5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/datetime-range.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
content: "";
322322
position: absolute;
323323
top: 50%;
324-
left: 35%;
324+
left: calc(50% - 0.4em);
325325
border-left: 0.5em solid transparent;
326326
border-right: 0.5em solid transparent;
327327
border-bottom: 0.5em solid #ddd;
@@ -338,7 +338,7 @@
338338
content: "";
339339
position: absolute;
340340
top: 0;
341-
left: 35%;
341+
left: calc(50% - 0.4em);
342342
border-left: 0.5em solid transparent;
343343
border-right: 0.5em solid transparent;
344344
border-top: 0.5em solid #ddd;

0 commit comments

Comments
 (0)