Browse Source

Fix scrollbar width in IE

pull/2492/head
jlukic 9 years ago
parent
commit
b19a687364
1 changed files with 1 additions and 7 deletions
  1. 8
      src/definitions/modules/dropdown.less

8
src/definitions/modules/dropdown.less

@ -412,6 +412,7 @@ select.ui.dropdown {
outline: none;
margin: 0px -@menuBorderWidth;
min-width: @menuMinWidth;
width: @menuMinWidth;
border-radius: @selectionMenuBorderRadius;
box-shadow: @selectionMenuBoxShadow;
@ -430,13 +431,6 @@ select.ui.dropdown {
padding: @selectionMessagePadding;
}
/* Scrollbar in IE */
@media all and (-ms-high-contrast:none) {
.ui.selection.dropdown .menu {
min-width: ~"calc(100% - "@scrollbarWidth~")";
}
}
@media only screen and (max-width : @largestMobileScreen) {
.ui.selection.dropdown .menu {
max-height: @selectionMobileMaxMenuHeight;

Loading…
Cancel
Save