From 405cdcdffe4c397df7ee9df062a72321fb5ed39d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E5=AE=9C=E9=99=9E?= Date: Thu, 20 Jun 2024 18:23:01 +0800 Subject: [PATCH] fix: paragraph margin --- packages/package.json | 2 +- packages/perseus/src/question-paragraph.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/package.json b/packages/package.json index b7920f5ac6..ced4d79bbe 100644 --- a/packages/package.json +++ b/packages/package.json @@ -1,6 +1,6 @@ { "name": "@junyiacademy/perseus-core", - "version": "1.0.36", + "version": "1.0.37", "main": "./dist/index.js", "types": "./dist/index.d.ts", "license": "MIT", diff --git a/packages/perseus/src/question-paragraph.tsx b/packages/perseus/src/question-paragraph.tsx index 6963fd6053..bb2a30ed09 100644 --- a/packages/perseus/src/question-paragraph.tsx +++ b/packages/perseus/src/question-paragraph.tsx @@ -24,6 +24,7 @@ class QuestionParagraph extends React.Component { } data-perseus-component-index={this.props.translationIndex} data-perseus-paragraph-index={this.props.paragraphIndex} + style={{ margin: "22px 0px" }} > {this.props.children}