From f891852d09dc418f3de5cda8e892a545ba54c8af Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 26 Feb 2015 11:53:46 -0500 Subject: [PATCH] Adds variable into def for scrollbar #1875 #1831 --- src/definitions/modules/dropdown.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/definitions/modules/dropdown.less b/src/definitions/modules/dropdown.less index 8ab4a3d61..2c4dddf60 100755 --- a/src/definitions/modules/dropdown.less +++ b/src/definitions/modules/dropdown.less @@ -395,10 +395,12 @@ select.ui.dropdown { display: none; } + +/* Scrollbar in IE */ @media all and (-ms-high-contrast:none) { .ui.selection.dropdown .menu { - min-width: calc(100% - 15px); - } + min-width: calc(100% - @scrollbarWidth); + } } @media only screen and (max-width : @largestMobileScreen) {