Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
10e9fef8
Commit
10e9fef8
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge pull request #13651 from twbs/ios-temporal
update explanatory comment about iOS date/time inputs bug
parents
338cff13
3261ab70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/forms.less
+4
-2
less/forms.less
with
4 additions
and
2 deletions
+4
-2
less/forms.less
+
4
-
2
View file @
10e9fef8
...
...
@@ -165,9 +165,11 @@ input[type="search"] {
}
// Special styles for iOS
da
te input
// Special styles for iOS te
mporal
input
s
//
// In Mobile Safari, date inputs require a pixel line-height that matches the
// In Mobile Safari, setting `display: block` on temporal inputs causes the
// text within the input to become vertically misaligned.
// As a workaround, we set a pixel line-height that matches the
// given height of the input. Since this fucks up everything else, we have to
// appropriately reset it for Internet Explorer and the size variations.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment