mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-17 13:10:23 +00:00
fixes #4725: width of .uneditable-input should match standard text input width
This commit is contained in:
parent
22c4f3d058
commit
cf9334bd7d
2 changed files with 4 additions and 2 deletions
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
|
|
@ -960,7 +960,8 @@ input[type="color"],
|
|||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
textarea,
|
||||
.uneditable-input {
|
||||
width: 206px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -91,7 +91,8 @@ input[type="color"],
|
|||
// Reset appearance properties for textual inputs and textarea
|
||||
// Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
|
||||
input,
|
||||
textarea {
|
||||
textarea,
|
||||
.uneditable-input {
|
||||
width: 206px; // plus 12px padding and 2px border
|
||||
}
|
||||
// Reset height since textareas have rows
|
||||
|
|
|
|||
Loading…
Reference in a new issue