Commit c25234690ddf44cb1bc76247551fe3b19d8f0e03
Committed by
GitHub
Merge pull request #1262 from huixisheng/2.0
fixed Select option with selected push one line in the firefox
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
src/styles/mixins/select.less
| ... | ... | @@ -58,4 +58,12 @@ |
| 58 | 58 | padding: 7px 16px 8px; |
| 59 | 59 | font-size: @font-size-base !important; |
| 60 | 60 | } |
| 61 | + // http://browserhacks.com/ | |
| 62 | + // https://bugzilla.mozilla.org/show_bug.cgi?id=488725 | |
| 63 | + // fixed #1224 #1143 #1127 | |
| 64 | + @-moz-document url-prefix() { | |
| 65 | + .@{item-class} { | |
| 66 | + white-space: normal; | |
| 67 | + } | |
| 68 | + } | |
| 61 | 69 | } | ... | ... |