Skip to content

Commit 70c9dac

Browse files
committed
#6 fixes css style for comma after primitive type value
1 parent 15678e9 commit 70c9dac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-json-view-lite",
3-
"version": "0.9.5",
3+
"version": "0.9.6",
44
"description": "JSON viewer component for React focused on performance for large volume input while still providing few customiziation features",
55
"homepage": "http://anyroad.github.io/react-json-view-lite",
66
"author": "AnyRoad",

src/DataRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function JsonPrimitiveValue({
199199
<div className={style.basicChildStyle} role='listitem'>
200200
{field && <span className={style.label}>{field}:</span>}
201201
<span className={valueStyle}>{stringValue}</span>
202-
{!lastElement && <span className={style.label}>,</span>}
202+
{!lastElement && <span className={style.punctuation}>,</span>}
203203
</div>
204204
);
205205
}

0 commit comments

Comments
 (0)