diff options
| author | Mark Otto <[email protected]> | 2012-04-15 00:35:30 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-04-15 00:35:30 -0700 |
| commit | 13e4d1d5ac90484c09ecb1a98e540309d043a6f7 (patch) | |
| tree | e022854cdd1277135645452098aca6342791a5d6 /less/forms.less | |
| parent | cad8f2b43acac39958c5f3fb04e9d922900e7b89 (diff) | |
| download | bootstrap-13e4d1d5ac90484c09ecb1a98e540309d043a6f7.tar.xz bootstrap-13e4d1d5ac90484c09ecb1a98e540309d043a6f7.zip | |
fix #2990: text wrapping in .uneditable-input
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less index dd18b91f5..409de0a24 100644 --- a/less/forms.less +++ b/less/forms.less @@ -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 |
