File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
36
36
}
37
37
</div>
38
38
@if (showState && selected) {
39
- <div class="ant-select-item-option-state" style="user-select: none" unselectable="on">
39
+ <div class="ant-select-item-option-state" unselectable="on">
40
40
@if (!icon) {
41
41
<span nz-icon nzType="check" class="ant-select-selected-icon"></span>
42
42
} @else {
Original file line number Diff line number Diff line change 172
172
background : @select-clear-background ;
173
173
cursor : pointer ;
174
174
opacity : 0 ;
175
- transition : color 0.3s ease , opacity 0.15s ease ;
175
+ transition :
176
+ color 0.3s ease ,
177
+ opacity 0.15s ease ;
176
178
text-rendering : auto ;
177
179
178
180
& ::before {
278
280
279
281
&-state {
280
282
flex : none ;
283
+ user-select : none ;
281
284
}
282
285
283
286
&-active :not (&-disabled ) {
You can’t perform that action at this time.
0 commit comments