Skip to content
Snippets Groups Projects
Commit 3dde1238 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #15292 TIME 0:20 fix css

parent 9a5a2d3f
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
<mat-option *ngIf="showResetOption" (onSelectionChange)="selectChange($event)" [value]="emptyData()">({{'lang.emptyValue' | translate}})</mat-option>
<mat-option *ngFor="let value of filteredDatas | async" (onSelectionChange)="selectChange($event)" [value]="returnValue === 'id' ? value.id : value"
[title]="value.title !== undefined ? value.title : value.label" [disabled]="value.disabled"
[class.opt-group]="value.isTitle" [style.color]="value.color">
[class.opt-group]="value.isTitle" [class.fixPos]="value.isTitle && datas.length > 5" [style.color]="value.color">
<span [innerHTML]="value.label"></span>
</mat-option>
</mat-select>
......
......@@ -73,7 +73,7 @@ $multiple-check-width: 33px;
.opt-group {
position: sticky;
top: 50px;
top: 0px;
background: white;
z-index: 1;
::ng-deep.mat-pseudo-checkbox {
......@@ -81,6 +81,10 @@ $multiple-check-width: 33px;
}
}
.fixPos {
top: 50px !important;
}
.multipleLabels {
color: $secondary;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment