diff --git a/horilla_widgets/templates/horilla_widgets/horilla_multiselect_widget.html b/horilla_widgets/templates/horilla_widgets/horilla_multiselect_widget.html index 2307a8608..8df601d28 100644 --- a/horilla_widgets/templates/horilla_widgets/horilla_multiselect_widget.html +++ b/horilla_widgets/templates/horilla_widgets/horilla_multiselect_widget.html @@ -62,9 +62,9 @@ .avatars { display: flex; - padding: 10px; + padding: 8px 10px 8px 10px; } - + .avatars__item { background-color: #596376; border: 2px solid white; @@ -82,35 +82,35 @@ overflow: hidden; margin-left: -10px; } - + .avatars__item:first-child { z-index: 5; } - + .avatars__item:nth-child(2) { z-index: 4; } - + .avatars__item:nth-child(3) { z-index: 3; } - + .avatars__item:nth-child(4) { z-index: 2; } - + .avatars__item:nth-child(5) { z-index: 1; } - + .avatars__item:last-child { z-index: 0; } - + .avatars__item img { width: 100%; } - + .avatars:hover .avatars__item { margin-right: 10px; } @@ -119,10 +119,23 @@ } #slectContainer{{self.attrs.id}} .select2-container .select2-selection{ padding: 5px !important; - height: 50px !important; + max-height: 70px !important; overflow: hidden; overflow-y: scroll; } + .custom-scroll{ + overflow-x: scroll + } + .custom-scroll::-webkit-scrollbar{ + background-color: #cacaca; + height: 4px; + border-radius: 6px; + + } + .custom-scroll::-webkit-scrollbar-thumb{ + background-color: #888; + border-radius: 6px; + }
-
-
- -
+
+
+
+ Filter and filterChoose -
+ Filter + +
-
+
{% include "horilla_widgets/multiselect_components/nav.html" %} @@ -170,7 +201,10 @@ {% include "horilla_widgets/multiselect_components/pagination.html" %}
-