Skip to content

Commit c104c9f

Browse files
committed
Set max-width of datetime edit-popovers to 350px, align pointer to the left.
1 parent 536776b commit c104c9f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/date-input.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
z-index: 5;
6565
top: 4.5em;
6666
width: 100%;
67+
min-width: 350px;
6768
height: auto;
6869
padding: 0;
6970
background-color: #efefef;
@@ -87,7 +88,7 @@
8788
width: 1em;
8889
height: 1em;
8990
top: -0.55em;
90-
left: 47.5%;
91+
left: 10%;
9192
z-index: 2;
9293
border-color: #aaa;
9394
border-style: solid;

src/datetime-input.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
z-index: 5;
7272
top: 4.5em;
7373
width: 100%;
74+
min-width: 350px;
7475
height: auto;
7576
padding: 0;
7677
background-color: #efefef;
@@ -94,7 +95,7 @@
9495
width: 1em;
9596
height: 1em;
9697
top: -0.55em;
97-
left: 47.8%;
98+
left: 10%;
9899
z-index: 2;
99100
border-color: #aaa;
100101
border-style: solid;

src/time-input.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
z-index: 5;
7373
top: 4.5em;
7474
width: 100%;
75+
min-width: 350px;
7576
height: auto;
7677
padding: 0;
7778
background-color: #efefef;
@@ -95,7 +96,7 @@
9596
width: 1em;
9697
height: 1em;
9798
top: -0.55em;
98-
left: 47.5%;
99+
left: 10%;
99100
z-index: 2;
100101
border-color: #aaa;
101102
border-style: solid;

0 commit comments

Comments
 (0)