From b65d8c96e5329492b135f0b33d03ce19772c4e4b Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Thu, 28 Apr 2016 20:17:38 +0300 Subject: [PATCH] Handle additional properties (fixes #4) --- .../JsonSchema/json-schema-common.scss | 6 +----- lib/components/JsonSchema/json-schema.html | 6 +++++- lib/components/JsonSchema/json-schema.js | 19 +++++++++++++++++-- lib/components/JsonSchema/json-schema.scss | 4 ++++ 4 files changed, 27 insertions(+), 8 deletions(-) diff --git a/lib/components/JsonSchema/json-schema-common.scss b/lib/components/JsonSchema/json-schema-common.scss index c03e356b..4b2d2953 100644 --- a/lib/components/JsonSchema/json-schema-common.scss +++ b/lib/components/JsonSchema/json-schema-common.scss @@ -70,7 +70,7 @@ $sub-schema-offset: ($bullet-size/2) + $bullet-margin; } .param-type { - color: $black; + color: rgba($black, 0.4); font-size: 0.929em; line-height: $param-name-height; vertical-align: middle; @@ -83,10 +83,6 @@ $sub-schema-offset: ($bullet-size/2) + $bullet-margin; font-weight: $base-font-weight; } -.param-type { - color: rgba($black, 0.4); -} - .param-type.with-hint { display: inline-block; margin-bottom: 0.4em; diff --git a/lib/components/JsonSchema/json-schema.html b/lib/components/JsonSchema/json-schema.html index f633f901..173a80ad 100644 --- a/lib/components/JsonSchema/json-schema.html +++ b/lib/components/JsonSchema/json-schema.html @@ -11,7 +11,11 @@