Skip to content

Commit

Permalink
Fix pseudo paddings and height
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens committed Mar 14, 2020
1 parent ff39e0b commit 4d4400e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,18 @@ legend {
// Fix height of inputs with a type of datetime-local, date, month, week, or time
// See https://github.com/twbs/bootstrap/issues/18842

::-webkit-datetime-edit {
overflow: visible;
line-height: 0;
::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
padding: 0;
}

::-webkit-inner-spin-button {
height: auto;
}

// 1. Correct the outline style in Safari.
Expand Down

0 comments on commit 4d4400e

Please sign in to comment.