Reverse tx flow diagram for RTL locales

This commit is contained in:
Mononaut
2022-11-21 11:59:45 +09:00
parent 7e01a22265
commit 6c1457e257
3 changed files with 19 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<div class="bowtie-graph">
<svg *ngIf="inputs && outputs" class="bowtie" [attr.height]="(height + 10) + 'px'" [attr.width]="width + 'px'">
<svg *ngIf="inputs && outputs" class="bowtie" [class.rtl]="dir === 'rtl'" [attr.height]="(height + 10) + 'px'" [attr.width]="width + 'px'">
<defs>
<marker id="input-arrow" viewBox="-5 -5 10 10"
refX="0" refY="0"