mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +03:00
fixes #4725: width of .uneditable-input should match standard text input width
This commit is contained in:
Vendored
+2
-1
@@ -960,7 +960,8 @@ input[type="color"],
|
|||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
textarea {
|
textarea,
|
||||||
|
.uneditable-input {
|
||||||
width: 206px;
|
width: 206px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user