Skip to content

Commit d96d015

Browse files
authored
Merge pull request #388 from r38y/r38y/fix-datetime-size-in-safari
CSS to fix size of datetime inputs in Safari.
2 parents f24d0a1 + 9483f1a commit d96d015

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

assets/default.css

+9
Original file line numberDiff line numberDiff line change
@@ -2544,3 +2544,12 @@ input[type="file_input"].has-error {
25442544
[x-cloak=""] {
25452545
display: none;
25462546
}
2547+
2548+
/*
2549+
Needed for datetime inputs to have the correct size in Safari
2550+
See: https://github.com/twbs/bootstrap/issues/34433#issuecomment-1831467352
2551+
*/
2552+
input::-webkit-datetime-edit {
2553+
display: block;
2554+
padding: 0;
2555+
}

0 commit comments

Comments
 (0)