Browse Source

#1996 #1992 issue with calc interpolation in dropdown LESS

pull/2034/head
jlukic 9 years ago
parent
commit
683b5aa5fc
1 changed files with 2 additions and 2 deletions
  1. 4
      src/definitions/modules/dropdown.less

4
src/definitions/modules/dropdown.less

@ -400,7 +400,7 @@ select.ui.dropdown {
/* Scrollbar in IE */ /* Scrollbar in IE */
@media all and (-ms-high-contrast:none) { @media all and (-ms-high-contrast:none) {
.ui.selection.dropdown .menu { .ui.selection.dropdown .menu {
min-width: calc(100% - @scrollBarWidth);
min-width: ~"calc(100% - "@scrollBarWidth~")";
} }
} }
@ -430,7 +430,7 @@ select.ui.dropdown {
border-top: @selectionItemDivider; border-top: @selectionItemDivider;
padding-left: @selectionHorizontalPadding !important; padding-left: @selectionHorizontalPadding !important;
/* Add in spacing for scroll bar */ /* Add in spacing for scroll bar */
padding-right: calc(@selectionHorizontalPadding + 1em) !important;
padding-right: ~"calc("@selectionHorizontalPadding~" + 1em) !important~";
white-space: normal; white-space: normal;
word-wrap: normal; word-wrap: normal;
} }

Loading…
Cancel
Save