Skip to content

Commit

Permalink
fix #2990: text wrapping in .uneditable-input
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Apr 15, 2012
1 parent cad8f2b commit 13e4d1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/assets/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 3 additions & 0 deletions less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13e4d1d

Please sign in to comment.