add rtl hinting for new graph + move code rtl hints to style file

This commit is contained in:
TechMiX 2021-09-15 12:06:55 +02:00
parent 014d6dee66
commit 2c496e9a50
2 changed files with 25 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<div class="code" dir="ltr" style="text-align: left !important;">
<div class="code">
<ul ngbNav #navCodeTemplate="ngbNav" class="nav-tabs code-tab">
<li ngbNavItem *ngIf="code.codeTemplate.curl && method !== 'websocket'">
<a ngbNavLink>cURL</a>

View File

@ -746,6 +746,30 @@ th {
margin-right: 0 !important;
margin-left: 0.5rem !important;
}
.code {
@extend .code;
text-align: left !important;
direction: ltr;
.subtitle {
@extend .subtitle;
direction: rtl;
text-align: right !important;
}
}
.container-graph {
@extend .container-graph;
.formRadioGroup {
@extend .formRadioGroup;
direction: ltr;
}
}
.mempool-graph {
@extend .mempool-graph;
direction: ltr;
}
}