Merge pull request #8812 from ArtemDzhereleiko/AD/imp/rule-chain/rule-chain-icon
Added icon for rule chain selector
This commit is contained in:
commit
3b30769e44
@ -15,13 +15,17 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
|
||||||
-->
|
-->
|
||||||
<mat-select fxFlex
|
<mat-form-field class="tb-rule-select" subscriptSizing="dynamic">
|
||||||
class="tb-rule-chain-select"
|
<mat-icon matPrefix>settings_ethernet</mat-icon>
|
||||||
[required]="required"
|
<mat-select fxFlex
|
||||||
[disabled]="disabled"
|
class="tb-rule-chain-select"
|
||||||
[(ngModel)]="ruleChainId"
|
hideSingleSelectionIndicator="false"
|
||||||
(ngModelChange)="ruleChainIdChanged()">
|
[required]="required"
|
||||||
<mat-option *ngFor="let ruleChain of ruleChains$ | async" [value]="ruleChain.id.id">
|
[disabled]="disabled"
|
||||||
{{ruleChain.name}}
|
[(ngModel)]="ruleChainId"
|
||||||
</mat-option>
|
(ngModelChange)="ruleChainIdChanged()">
|
||||||
</mat-select>
|
<mat-option *ngFor="let ruleChain of ruleChains$ | async" [value]="ruleChain.id.id">
|
||||||
|
{{ruleChain.name}}
|
||||||
|
</mat-option>
|
||||||
|
</mat-select>
|
||||||
|
</mat-form-field>
|
||||||
|
|||||||
@ -19,8 +19,16 @@
|
|||||||
padding: 0 6px;
|
padding: 0 6px;
|
||||||
.tb-rule-chain-select {
|
.tb-rule-chain-select {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 48px;
|
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host ::ng-deep {
|
||||||
|
.mat-mdc-form-field.tb-rule-select .mdc-text-field {
|
||||||
|
.mat-mdc-form-field-infix {
|
||||||
|
min-height: 48px;
|
||||||
|
padding: 12px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user