File tree Expand file tree Collapse file tree 2 files changed +21
-14
lines changed
projects/components/src/multi-select Expand file tree Collapse file tree 2 files changed +21
-14
lines changed Original file line number Diff line number Diff line change 64
64
@include dropdown (6px );
65
65
min-width : 120px ;
66
66
display : flex ;
67
+ height : 100% ;
67
68
flex-direction : column ;
68
69
69
70
.divider {
70
71
padding : 0px 16px 4px 16px ;
71
72
}
72
73
74
+ .multi-select-options {
75
+ overflow : auto ;
76
+ }
77
+
73
78
.multi-select-option {
74
79
display : flex ;
75
80
height : 34px ;
Original file line number Diff line number Diff line change @@ -88,20 +88,22 @@ import { MultiSelectJustify } from './multi-select-justify';
88
88
</ng-container>
89
89
</ng-container>
90
90
91
- <div
92
- *ngFor="let item of this.filteredOptions$ | async"
93
- (click)="this.onSelectionChange(item)"
94
- class="multi-select-option"
95
- >
96
- <input class="checkbox" type="checkbox" [checked]="this.isSelectedItem(item)" />
97
- <ht-icon
98
- class="icon"
99
- *ngIf="item.icon"
100
- [icon]="item.icon"
101
- size="${ IconSize . ExtraSmall } "
102
- [color]="item.iconColor"
103
- ></ht-icon>
104
- <span class="label">{{ item.label }}</span>
91
+ <div class="multi-select-options">
92
+ <div
93
+ *ngFor="let item of this.filteredOptions$ | async"
94
+ (click)="this.onSelectionChange(item)"
95
+ class="multi-select-option"
96
+ >
97
+ <input class="checkbox" type="checkbox" [checked]="this.isSelectedItem(item)" />
98
+ <ht-icon
99
+ class="icon"
100
+ *ngIf="item.icon"
101
+ [icon]="item.icon"
102
+ size="${ IconSize . ExtraSmall } "
103
+ [color]="item.iconColor"
104
+ ></ht-icon>
105
+ <span class="label">{{ item.label }}</span>
106
+ </div>
105
107
</div>
106
108
</div>
107
109
</ht-popover-content>
You can’t perform that action at this time.
0 commit comments