fix RTL layout issues

This commit is contained in:
TechMiX
2022-04-05 20:37:18 +02:00
parent e5f504c9f4
commit 22c29d7269
8 changed files with 52 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
import { ChangeDetectionStrategy, Component, Input, NgZone, OnInit } from '@angular/core';
import { ChangeDetectionStrategy, Component, Input, NgZone, OnInit, HostBinding } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { Router } from '@angular/router';
import { EChartsOption, PieSeriesOption } from 'echarts';
@@ -31,6 +31,8 @@ export class PoolRankingComponent implements OnInit {
};
chartInstance: any = undefined;
@HostBinding('attr.dir') dir = 'ltr';
miningStatsObservable$: Observable<MiningStats>;
constructor(