mirror of
https://github.com/jasny/bootstrap.git
synced 2026-02-04 02:55:28 -05:00
updated comments in forms.less and added uneditable-textarea class to extend uneditable-input
This commit is contained in:
@@ -63,6 +63,10 @@ select,
|
||||
border: 1px solid #ccc;
|
||||
.border-radius(3px);
|
||||
}
|
||||
.uneditable-textarea {
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
// Mini reset for unique input types
|
||||
input[type=image],
|
||||
@@ -72,7 +76,7 @@ input[type=radio] {
|
||||
height: auto;
|
||||
padding: 0;
|
||||
margin: 3px 0;
|
||||
*margin-top: 0; /* IE6-7 */
|
||||
*margin-top: 0; /* IE7 */
|
||||
line-height: normal;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
@@ -99,7 +103,7 @@ input[type=submit] {
|
||||
// Set the height of select and file controls to match text inputs
|
||||
select,
|
||||
input[type=file] {
|
||||
height: @baseLineHeight * 1.5; // In IE7, the height of the select element cannot be changed by height, only font-size
|
||||
height: @baseLineHeight * 1.5; /* In IE7, the height of the select element cannot be changed by height, only font-size */
|
||||
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
|
||||
line-height: @baseLineHeight * 1.5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user