From 066ef6445909b4a5e547853038932e991857dad4 Mon Sep 17 00:00:00 2001 From: emoralesb05 Date: Wed, 13 Dec 2017 16:39:20 -0800 Subject: [PATCH] feat(json-formatter): support properly RTL --- .../core/json-formatter/json-formatter.component.html | 4 ++-- .../core/json-formatter/json-formatter.component.scss | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/platform/core/json-formatter/json-formatter.component.html b/src/platform/core/json-formatter/json-formatter.component.html index 5162f4ddd9..feeecec418 100644 --- a/src/platform/core/json-formatter/json-formatter.component.html +++ b/src/platform/core/json-formatter/json-formatter.component.html @@ -9,8 +9,8 @@ {{key}}: - {{getObjectName()}} - [{{data.length}}] + {{getObjectName()}} + [{{data.length}}] {{getValue(data)}} diff --git a/src/platform/core/json-formatter/json-formatter.component.scss b/src/platform/core/json-formatter/json-formatter.component.scss index 8060f0c099..aa4c088621 100644 --- a/src/platform/core/json-formatter/json-formatter.component.scss +++ b/src/platform/core/json-formatter/json-formatter.component.scss @@ -1,5 +1,11 @@ :host { display: block; + .function:after, + .date:after, + .td-object-name:after, + .td-array-length:after { + content: "\200E‎"; + } } .td-json-formatter-wrapper { padding-top: 2px;