mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fix #2990: text wrapping in .uneditable-input
This commit is contained in:
parent
cad8f2b43a
commit
13e4d1d5ac
2 changed files with 5 additions and 0 deletions
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);
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
||||
cursor: not-allowed;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
:-moz-placeholder {
|
||||
color: #999999;
|
||||
|
|
|
@ -331,6 +331,9 @@ select:focus:required:invalid {
|
|||
border-color: #eee;
|
||||
.box-shadow(inset 0 1px 2px rgba(0,0,0,.025));
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue