UI: Fix legend style
This commit is contained in:
parent
ec7e285272
commit
c7e75eb5b8
@ -15,8 +15,7 @@
|
||||
limitations under the License.
|
||||
|
||||
-->
|
||||
<table class="tb-legend" [ngClass]="isRowDirection ? 'tb-legend-row' : 'tb-legend-column'"
|
||||
[ngStyle]="{ marginRight: isRowDirection && !displayHeader ? 'auto' : '20px' }">
|
||||
<table class="tb-legend" [ngClass]="isRowDirection ? 'tb-legend-row' : 'tb-legend-column'">
|
||||
<thead>
|
||||
<tr class="tb-legend-header" *ngIf="!isRowDirection">
|
||||
<th colspan="2"></th>
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
&.tb-legend-row {
|
||||
width: auto;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.tb-legend-header,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user