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
158419c0
Commit
158419c0
authored
Feb 11, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset line-height for file input in ie9
parent
5bb55e46
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+3
-0
less/forms.less
less/forms.less
+5
-0
No files found.
docs/assets/bootstrap.zip
View file @
158419c0
No preview for this file type
docs/assets/css/bootstrap.css
View file @
158419c0
...
@@ -603,6 +603,9 @@ select, input[type="file"] {
...
@@ -603,6 +603,9 @@ select, input[type="file"] {
line-height
:
28px
;
line-height
:
28px
;
}
}
input
[
type
=
"file"
]
{
line-height
:
18px
\
9
;
}
select
{
select
{
width
:
220px
;
width
:
220px
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
...
...
less/forms.less
View file @
158419c0
...
@@ -122,6 +122,11 @@ input[type="file"] {
...
@@ -122,6 +122,11 @@ input[type="file"] {
line-height: 28px;
line-height: 28px;
}
}
// Reset line-height for IE
input[type="file"] {
line-height: 18px \9;
}
// Chrome on Linux and Mobile Safari need background-color
// Chrome on Linux and Mobile Safari need background-color
select {
select {
width: 220px; // default input width + 10px of padding that doesn't get applied
width: 220px; // default input width + 10px of padding that doesn't get applied
...
...
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