UI: Fix legend style
This commit is contained in:
parent
ec7e285272
commit
c7e75eb5b8
@ -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>
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user