Skip to content

Commit 4325068

Browse files
committed
Merge pull request #65 from vasco-santos/master
Added dropdownscrollbar for a large list.
2 parents 2c0a534 + 8f36dc5 commit 4325068

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

angular-dropdowns.css

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
margin: 0 auto;
77
padding: 10px;
88

9+
10+
911
-webkit-user-select:none;
1012
-moz-user-select:none;
1113
user-select:none;
@@ -24,7 +26,6 @@
2426
cursor: default;
2527
color: #5B6A7D;
2628
}
27-
2829
.wrap-dd-select:after {
2930
content: "";
3031
width: 0;
@@ -56,6 +57,8 @@
5657
font-weight: normal;
5758
list-style: none;
5859
visibility: hidden;
60+
max-height: 300px;
61+
overflow-y: auto; /*Provide an auto overflow to display scroll*/
5962
}
6063

6164
.wrap-dd-select .dropdown li.divider {

dist/angular-dropdowns.css

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
margin: 0 auto;
77
padding: 10px;
88

9+
10+
911
-webkit-user-select:none;
1012
-moz-user-select:none;
1113
user-select:none;
@@ -24,7 +26,6 @@
2426
cursor: default;
2527
color: #5B6A7D;
2628
}
27-
2829
.wrap-dd-select:after {
2930
content: "";
3031
width: 0;
@@ -56,6 +57,8 @@
5657
font-weight: normal;
5758
list-style: none;
5859
visibility: hidden;
60+
max-height: 300px;
61+
overflow-y: auto; /*Provide an auto overflow to display scroll*/
5962
}
6063

6164
.wrap-dd-select .dropdown li.divider {

dist/angular-dropdowns.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)