Skip to content

Commit f5dc736

Browse files
authored
fix: double scroll bar (#113)
* fix: double scroll bar * chore: remove unused style
1 parent b26fead commit f5dc736

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

projects/ngb-filterable-dropdown/src/lib/ngb-custom-filterable-dropdown/ngb-custom-filterable-dropdown.component.scss

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
}
99

1010
.dropdown-menu-inner {
11+
z-index: 1000;
1112
display: flex;
1213
flex-direction: column;
13-
max-height: 231px;
14-
min-height: 76px;
1514
height: auto;
1615
}
1716

@@ -66,12 +65,6 @@
6665
}
6766
}
6867

69-
.scroll-container {
70-
width: 100%;
71-
min-height: 30px;
72-
overflow-y: auto;
73-
}
74-
7568
icon-all,
7669
icon-none,
7770
icon-checkmark {
@@ -106,9 +99,15 @@ icon-plus {
10699
}
107100
}
108101

102+
.scroll-container {
103+
width: 100%;
104+
min-height: 30px;
105+
}
106+
109107
.virtual-scroll-viewport {
108+
display: block;
110109
width: 100%;
111110
min-width: 100%;
112-
max-height: 200px;
111+
height: 100%;
113112
min-height: 40px;
114-
}
113+
}

0 commit comments

Comments
 (0)