Skip to content

Commit

Permalink
Merge pull request #388 from r38y/r38y/fix-datetime-size-in-safari
Browse files Browse the repository at this point in the history
CSS to fix size of datetime inputs in Safari.
  • Loading branch information
mitkins authored Jan 9, 2025
2 parents f24d0a1 + 9483f1a commit d96d015
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions assets/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -2544,3 +2544,12 @@ input[type="file_input"].has-error {
[x-cloak=""] {
display: none;
}

/*
Needed for datetime inputs to have the correct size in Safari
See: https://github.com/twbs/bootstrap/issues/34433#issuecomment-1831467352
*/
input::-webkit-datetime-edit {
display: block;
padding: 0;
}

0 comments on commit d96d015

Please sign in to comment.