mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
fix #2990: text wrapping in .uneditable-input
This commit is contained in:
parent
cad8f2b43a
commit
13e4d1d5ac
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
@ -977,6 +977,8 @@ select:focus:required:invalid:focus {
|
|||||||
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
||||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
:-moz-placeholder {
|
:-moz-placeholder {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
|
@ -331,6 +331,9 @@ select:focus:required:invalid {
|
|||||||
border-color: #eee;
|
border-color: #eee;
|
||||||
.box-shadow(inset 0 1px 2px rgba(0,0,0,.025));
|
.box-shadow(inset 0 1px 2px rgba(0,0,0,.025));
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
// prevent text from wrapping, but still cut it off like an input does
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Placeholder text gets special styles; can't be bundled together though for some reason
|
// Placeholder text gets special styles; can't be bundled together though for some reason
|
||||||
|
Loading…
x
Reference in New Issue
Block a user