From db5cb7cf3de4fd216b541b98ff5753e5bc43b2fd Mon Sep 17 00:00:00 2001 From: huixisheng Date: Thu, 29 Jun 2017 11:00:31 +0800 Subject: [PATCH] fixed Select option with selected push one line in the firefox --- src/styles/mixins/select.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/styles/mixins/select.less b/src/styles/mixins/select.less index c7aace12..67f0591c 100644 --- a/src/styles/mixins/select.less +++ b/src/styles/mixins/select.less @@ -58,4 +58,12 @@ padding: 7px 16px 8px; font-size: @font-size-base !important; } + // http://browserhacks.com/ + // https://bugzilla.mozilla.org/show_bug.cgi?id=488725 + // fixed #1224 #1143 #1127 + @-moz-document url-prefix() { + .@{item-class} { + white-space: normal; + } + } }