File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ function normalizeDataSource(value: AutocompleteDataSource): AutocompleteDataSou
81
81
(@slideMotion.done)="onAnimationEvent($event)"
82
82
[@.disabled]="!!noAnimation?.nzNoAnimation"
83
83
>
84
- <div style="max-height: 256px; overflow-y: auto; overflow-anchor: none; ">
85
- <div style="display: flex; flex-direction: column; ">
84
+ <div class="ant-select-dropdown-content-wrapper ">
85
+ <div class="ant-select-dropdown-content ">
86
86
<ng-template *ngTemplateOutlet="nzDataSource ? optionsTemplate : contentTemplate"></ng-template>
87
87
</div>
88
88
</div>
Original file line number Diff line number Diff line change 1
1
.ant-select-dropdown-hidden {
2
2
display : none ;
3
3
}
4
+
5
+ .ant-select-dropdown-content-wrapper {
6
+ max-height : 256px ;
7
+ overflow-y : auto ;
8
+ overflow-anchor : none ;
9
+ }
10
+
11
+ .ant-select-dropdown-content {
12
+ display : flex ;
13
+ flex-direction : column ;
14
+ }
You can’t perform that action at this time.
0 commit comments