mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
fixes #4725: width of .uneditable-input should match standard text input width
This commit is contained in:
parent
22c4f3d058
commit
cf9334bd7d
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
@ -960,7 +960,8 @@ input[type="color"],
|
|||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
textarea {
|
textarea,
|
||||||
|
.uneditable-input {
|
||||||
width: 206px;
|
width: 206px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,7 +91,8 @@ input[type="color"],
|
|||||||
// Reset appearance properties for textual inputs and textarea
|
// Reset appearance properties for textual inputs and textarea
|
||||||
// Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
|
// Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
|
||||||
input,
|
input,
|
||||||
textarea {
|
textarea,
|
||||||
|
.uneditable-input {
|
||||||
width: 206px; // plus 12px padding and 2px border
|
width: 206px; // plus 12px padding and 2px border
|
||||||
}
|
}
|
||||||
// Reset height since textareas have rows
|
// Reset height since textareas have rows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user