UI: Fix legend style

This commit is contained in:
Igor Kulikov 2022-03-29 16:23:39 +03:00
parent ec7e285272
commit c7e75eb5b8
2 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,7 @@
limitations under the License. limitations under the License.
--> -->
<table class="tb-legend" [ngClass]="isRowDirection ? 'tb-legend-row' : 'tb-legend-column'" <table class="tb-legend" [ngClass]="isRowDirection ? 'tb-legend-row' : 'tb-legend-column'">
[ngStyle]="{ marginRight: isRowDirection && !displayHeader ? 'auto' : '20px' }">
<thead> <thead>
<tr class="tb-legend-header" *ngIf="!isRowDirection"> <tr class="tb-legend-header" *ngIf="!isRowDirection">
<th colspan="2"></th> <th colspan="2"></th>

View File

@ -24,6 +24,7 @@
&.tb-legend-row { &.tb-legend-row {
width: auto; width: auto;
margin-left: auto; margin-left: auto;
margin-right: auto;
} }
.tb-legend-header, .tb-legend-header,