1
0
Fork 0
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:
Mark Otto 2012-04-15 00:35:30 -07:00
parent cad8f2b43a
commit 13e4d1d5ac
2 changed files with 5 additions and 0 deletions

View file

@ -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;

View file

@ -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