From e5858bba8b4e6438dd87648890be92c8240730c3 Mon Sep 17 00:00:00 2001 From: Moustafa Ismael Date: Mon, 24 Apr 2017 11:29:57 -0400 Subject: [PATCH] Make the search input field sticky so it deosn't scroll with the rest of the dropdown --- .../angularjs-dropdown-multiselect.html | 263 +++++++++--------- src/app/main/stylesheet.scss | 7 +- 2 files changed, 139 insertions(+), 131 deletions(-) diff --git a/src/app/component/angularjs-dropdown-multiselect.html b/src/app/component/angularjs-dropdown-multiselect.html index e92650b6..cd17418f 100644 --- a/src/app/component/angularjs-dropdown-multiselect.html +++ b/src/app/component/angularjs-dropdown-multiselect.html @@ -9,135 +9,138 @@ {{getButtonText()}}  - + + + diff --git a/src/app/main/stylesheet.scss b/src/app/main/stylesheet.scss index 6c87954a..dab69e96 100644 --- a/src/app/main/stylesheet.scss +++ b/src/app/main/stylesheet.scss @@ -262,6 +262,11 @@ blockquote { ul { list-style: disc inside; padding-left: 20px; + position: relative; + border: none; + box-shadow: none; + width: 100%; + max-height: 300px; } ol { list-style: decimal inside; @@ -390,7 +395,7 @@ footer a:hover { padding-right: 0; margin-left: 0; } - + a.option[disabled] { opacity: 0.5; }