Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
1be0b57d
Commit
1be0b57d
authored
Mar 17, 2014
by
Rob Fletcher
Committed by
Chris Rebert
Mar 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix vertical alignment of temporal inputs on iOS
Fixes #13098 Closes #13099
parent
f2952aec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
7 deletions
+28
-7
dist/css/bootstrap-rtl.css
dist/css/bootstrap-rtl.css
+12
-3
dist/css/bootstrap.css
dist/css/bootstrap.css
+12
-3
less/forms.less
less/forms.less
+4
-1
No files found.
dist/css/bootstrap-rtl.css
View file @
1be0b57d
...
@@ -3078,16 +3078,25 @@ input[type="search"] {
...
@@ -3078,16 +3078,25 @@ input[type="search"] {
-webkit-appearance
:
none
;
-webkit-appearance
:
none
;
}
}
input
[
type
=
"date"
]
{
input
[
type
=
"date"
],
input
[
type
=
"time"
],
input
[
type
=
"datetime-local"
],
input
[
type
=
"month"
]
{
line-height
:
34px
;
line-height
:
34px
;
line-height
:
1.42857143
\
0
;
line-height
:
1.42857143
\
0
;
}
}
input
[
type
=
"date"
]
.input-sm
{
input
[
type
=
"date"
]
.input-sm
,
input
[
type
=
"time"
]
.input-sm
,
input
[
type
=
"datetime-local"
]
.input-sm
,
input
[
type
=
"month"
]
.input-sm
{
line-height
:
30px
;
line-height
:
30px
;
}
}
input
[
type
=
"date"
]
.input-lg
{
input
[
type
=
"date"
]
.input-lg
,
input
[
type
=
"time"
]
.input-lg
,
input
[
type
=
"datetime-local"
]
.input-lg
,
input
[
type
=
"month"
]
.input-lg
{
line-height
:
46px
;
line-height
:
46px
;
}
}
...
...
dist/css/bootstrap.css
View file @
1be0b57d
...
@@ -2371,14 +2371,23 @@ textarea.form-control {
...
@@ -2371,14 +2371,23 @@ textarea.form-control {
input
[
type
=
"search"
]
{
input
[
type
=
"search"
]
{
-webkit-appearance
:
none
;
-webkit-appearance
:
none
;
}
}
input
[
type
=
"date"
]
{
input
[
type
=
"date"
],
input
[
type
=
"time"
],
input
[
type
=
"datetime-local"
],
input
[
type
=
"month"
]
{
line-height
:
34px
;
line-height
:
34px
;
line-height
:
1.42857143
\
0
;
line-height
:
1.42857143
\
0
;
}
}
input
[
type
=
"date"
]
.input-sm
{
input
[
type
=
"date"
]
.input-sm
,
input
[
type
=
"time"
]
.input-sm
,
input
[
type
=
"datetime-local"
]
.input-sm
,
input
[
type
=
"month"
]
.input-sm
{
line-height
:
30px
;
line-height
:
30px
;
}
}
input
[
type
=
"date"
]
.input-lg
{
input
[
type
=
"date"
]
.input-lg
,
input
[
type
=
"time"
]
.input-lg
,
input
[
type
=
"datetime-local"
]
.input-lg
,
input
[
type
=
"month"
]
.input-lg
{
line-height
:
46px
;
line-height
:
46px
;
}
}
.form-group
{
.form-group
{
...
...
less/forms.less
View file @
1be0b57d
...
@@ -170,7 +170,10 @@ input[type="search"] {
...
@@ -170,7 +170,10 @@ input[type="search"] {
// given height of the input. Since this fucks up everything else, we have to
// given height of the input. Since this fucks up everything else, we have to
// appropriately reset it for Internet Explorer and the size variations.
// appropriately reset it for Internet Explorer and the size variations.
input[type="date"] {
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
line-height: @input-height-base;
line-height: @input-height-base;
// IE8+ misaligns the text within date inputs, so we reset
// IE8+ misaligns the text within date inputs, so we reset
line-height: @line-height-base ~"\0";
line-height: @line-height-base ~"\0";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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