Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
d9345ff7
Commit
d9345ff7
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fixes
#11266
: Apply a pixel-based line-height to date inputs for iOS 7
parent
4f22670c
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/css/bootstrap.css
+3
-0
dist/css/bootstrap.css
dist/css/bootstrap.min.css
+1
-1
dist/css/bootstrap.min.css
less/forms.less
+8
-0
less/forms.less
with
12 additions
and
1 deletion
+12
-1
dist/css/bootstrap.css
+
3
-
0
View file @
d9345ff7
...
...
@@ -1696,6 +1696,9 @@ fieldset[disabled] .form-control {
textarea
.form-control
{
height
:
auto
;
}
input
[
type
=
"date"
]
{
line-height
:
34px
;
}
.form-group
{
margin-bottom
:
15px
;
}
...
...
This diff is collapsed.
Click to expand it.
dist/css/bootstrap.min.css
+
1
-
1
View file @
d9345ff7
This diff is collapsed.
Click to expand it.
less/forms.less
+
8
-
0
View file @
d9345ff7
...
...
@@ -155,6 +155,14 @@ output {
}
}
// Special styles for iOS date input
//
// In Mobile Safari, date inputs require a pixel line-height that matches the
// given height of the input.
input[type="date"] {
line-height: @input-height-base;
}
// Form groups
//
...
...
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
Menu
Explore
Projects
Groups
Snippets