Skip to content

Commit e5af75f

Browse files
committed
fix(input): vertically align date input text
Closes #1147
1 parent eaee564 commit e5af75f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scss/_form.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,17 @@ input[type="color"] {
184184
line-height: $font-size-base + 2;
185185
}
186186

187+
.platform-ios,
188+
.platform-android {
189+
input[type="datetime-local"],
190+
input[type="date"],
191+
input[type="month"],
192+
input[type="time"],
193+
input[type="week"] {
194+
padding-top: 8px;
195+
}
196+
}
197+
187198
input,
188199
textarea {
189200
width: 100%;

0 commit comments

Comments
 (0)