[DURACOM-190] Fix alignment in vocabulary-treeview

(cherry picked from commit feb2b2be53)
This commit is contained in:
Davide Negretti
2023-10-13 11:05:14 +02:00
committed by github-actions[bot]
parent 00eb24c39d
commit e10a08ecfa

View File

@@ -23,7 +23,7 @@
<!-- Leaf node -->
<cdk-tree-node *cdkTreeNodeDef="let node" cdkTreeNodePadding class="d-flex">
<button type="button" class="btn btn-default" cdkTreeNodeToggle>
<span class="fas fa-angle-right invisible" aria-hidden="true"></span>
<span class="fas fa-fw fa-angle-right invisible" aria-hidden="true"></span>
</button>
<label *ngIf="multiSelect" class="d-flex align-items-center m-0 p-0 form-check"
[class.text-success]="node.isSelected"
@@ -55,7 +55,7 @@
<button type="button" class="btn btn-default" cdkTreeNodeToggle
[attr.aria-label]="'toggle ' + node.name"
(click)="loadChildren(node)">
<span class="fas {{treeControl.isExpanded(node) ? 'fa-angle-down' : 'fa-angle-right'}}"
<span class="fas fa-fw {{treeControl.isExpanded(node) ? 'fa-angle-down' : 'fa-angle-right'}}"
aria-hidden="true"></span>
</button>