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 6464 @include dropdown (6px );
6565 min-width : 120px ;
6666 display : flex ;
67+ height : 100% ;
6768 flex-direction : column ;
6869
6970 .divider {
7071 padding : 0px 16px 4px 16px ;
7172 }
7273
74+ .multi-select-options {
75+ overflow : auto ;
76+ }
77+
7378 .multi-select-option {
7479 display : flex ;
7580 height : 34px ;
Original file line number Diff line number Diff line change @@ -88,20 +88,22 @@ import { MultiSelectJustify } from './multi-select-justify';
8888 </ng-container>
8989 </ng-container>
9090
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>
105107 </div>
106108 </div>
107109 </ht-popover-content>
You can’t perform that action at this time.
0 commit comments