Browse Source

UI: Fix legend style

pull/6352/head
Igor Kulikov 5 years ago
parent
commit
c7e75eb5b8
  1. 3
      ui-ngx/src/app/modules/home/components/widget/legend.component.html
  2. 1
      ui-ngx/src/app/modules/home/components/widget/legend.component.scss

3
ui-ngx/src/app/modules/home/components/widget/legend.component.html

@ -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>

1
ui-ngx/src/app/modules/home/components/widget/legend.component.scss

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

Loading…
Cancel
Save