From 683b5aa5fcb14d181a140093aa925c629f4cc127 Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 20 Mar 2015 11:46:20 -0400 Subject: [PATCH] #1996 #1992 issue with calc interpolation in dropdown LESS --- src/definitions/modules/dropdown.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/definitions/modules/dropdown.less b/src/definitions/modules/dropdown.less index c5bdde85c..baaf0bfbf 100755 --- a/src/definitions/modules/dropdown.less +++ b/src/definitions/modules/dropdown.less @@ -400,7 +400,7 @@ select.ui.dropdown { /* Scrollbar in IE */ @media all and (-ms-high-contrast:none) { .ui.selection.dropdown .menu { - min-width: calc(100% - @scrollBarWidth); + min-width: ~"calc(100% - "@scrollBarWidth~")"; } } @@ -430,7 +430,7 @@ select.ui.dropdown { border-top: @selectionItemDivider; padding-left: @selectionHorizontalPadding !important; /* Add in spacing for scroll bar */ - padding-right: calc(@selectionHorizontalPadding + 1em) !important; + padding-right: ~"calc("@selectionHorizontalPadding~" + 1em) !important~"; white-space: normal; word-wrap: normal; }