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
46d2ad5e
Commit
46d2ad5e
authored
Dec 27, 2011
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow select with size attr to not have fixed height
parent
3426877c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
bootstrap.css
bootstrap.css
+2
-2
bootstrap.min.css
bootstrap.min.css
+1
-1
lib/forms.less
lib/forms.less
+2
-1
No files found.
bootstrap.css
View file @
46d2ad5e
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Tue Dec 27 1
5:49:07
CST 2011
* Date: Tue Dec 27 1
6:07:55
CST 2011
*/
*/
html
,
body
{
html
,
body
{
margin
:
0
;
margin
:
0
;
...
@@ -604,7 +604,7 @@ select {
...
@@ -604,7 +604,7 @@ select {
background-color
:
#ffffff
;
background-color
:
#ffffff
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
select
[
multiple
]
{
select
[
multiple
]
,
select
[
size
]
{
height
:
inherit
;
height
:
inherit
;
}
}
input
[
type
=
image
]
{
input
[
type
=
image
]
{
...
...
bootstrap.min.css
View file @
46d2ad5e
...
@@ -101,7 +101,7 @@ input[type=file]{padding:initial;line-height:initial;border:initial;background-c
...
@@ -101,7 +101,7 @@ input[type=file]{padding:initial;line-height:initial;border:initial;background-c
input
[
type
=
button
],
input
[
type
=
reset
],
input
[
type
=
submit
]
{
width
:
auto
;
height
:
auto
;}
input
[
type
=
button
],
input
[
type
=
reset
],
input
[
type
=
submit
]
{
width
:
auto
;
height
:
auto
;}
select
,
input
[
type
=
file
]
{
height
:
27px
;
*
margin-top
:
4px
;
line-height
:
27px
;}
select
,
input
[
type
=
file
]
{
height
:
27px
;
*
margin-top
:
4px
;
line-height
:
27px
;}
select
{
background-color
:
#ffffff
;
vertical-align
:
middle
;}
select
{
background-color
:
#ffffff
;
vertical-align
:
middle
;}
select
[
multiple
]
{
height
:
inherit
;}
select
[
multiple
]
,
select
[
size
]
{
height
:
inherit
;}
input
[
type
=
image
]
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
input
[
type
=
image
]
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
textarea
{
height
:
auto
;}
textarea
{
height
:
auto
;}
input
,
textarea
{
-webkit-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
-webkit-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-moz-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-ms-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-o-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;}
input
,
textarea
{
-webkit-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
-webkit-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-moz-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-ms-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-o-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;}
...
...
lib/forms.less
View file @
46d2ad5e
...
@@ -100,7 +100,8 @@ select {
...
@@ -100,7 +100,8 @@ select {
}
}
// Make multiple select elements height not fixed
// Make multiple select elements height not fixed
select[multiple] {
select[multiple],
select[size] {
height: inherit;
height: inherit;
}
}
...
...
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