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, ChangeDetectorRef, Component, Inject, Input, LOCALE_ID, OnInit } from '@angular/core';
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, Input, LOCALE_ID, OnInit, HostBinding } from '@angular/core';
import { EChartsOption, graphic } from 'echarts';
import { Observable } from 'rxjs';
import { delay, map, retryWhen, share, startWith, switchMap, tap } from 'rxjs/operators';
@@ -35,6 +35,8 @@ export class HashrateChartComponent implements OnInit {
renderer: 'svg',
};
@HostBinding('attr.dir') dir = 'ltr';
hashrateObservable$: Observable<any>;
isLoading = true;
formatNumber = formatNumber;