Skip to content

Commit

Permalink
#1996 #1992 issue with calc interpolation in dropdown LESS
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Mar 20, 2015
1 parent 36613f5 commit 683b5aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definitions/modules/dropdown.less
Expand Up @@ -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~")";
}
}

Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 683b5aa

Please sign in to comment.