Skip to content

Commit d758b1a

Browse files
committed
Datum- en tijdkiezer namen te veel ruimte in bij Chromium-browsers
waardoor overflow kwam
1 parent 5154436 commit d758b1a

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ <h2>Afspraak toevoegen</h2>
462462
<div style="display: flex; padding: 0">
463463
<div
464464
class="material-textfield"
465+
id="dateDiv"
465466
style="
466467
flex: 1;
467468
background: none;
@@ -475,6 +476,7 @@ <h2>Afspraak toevoegen</h2>
475476
</div>
476477
<div
477478
class="material-textfield"
479+
id="timeDiv"
478480
style="
479481
flex: 1;
480482
background: none;
@@ -492,7 +494,11 @@ <h2>Afspraak toevoegen</h2>
492494
/>
493495
<label for="custStart">Starttijd</label>
494496
</div>
495-
<div class="material-textfield" style="flex: 1; background: none">
497+
<div
498+
class="material-textfield"
499+
id="timeDiv"
500+
style="flex: 1; background: none"
501+
>
496502
<input
497503
type="time"
498504
id="custEnd"

style.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,17 @@ dialog.right #content {
11921192
.addBtn {
11931193
margin-left: 0.5rem;
11941194
}
1195+
#timeDiv {
1196+
max-width: 5rem;
1197+
}
1198+
@supports (-webkit-font-smoothing: antialiased) {
1199+
#dateDiv {
1200+
max-width: 8.5rem;
1201+
}
1202+
#timeDiv {
1203+
max-width: 5.5rem;
1204+
}
1205+
}
11951206
@media (min-width: 500px) {
11961207
dialog.right {
11971208
margin: 0;

0 commit comments

Comments
 (0)