2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03: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
+3
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