A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix(ui): fix the problem of editor spacing error
robineeb08a88d6f3
diff --git a/ui/src/pages/Questions/EditAnswer/index.scss b/ui/src/pages/Questions/EditAnswer/index.scssindex a51e9b01..e9a156cf 100644--- a/ui/src/pages/Questions/EditAnswer/index.scss+++ b/ui/src/pages/Questions/EditAnswer/index.scss@@ -1,5 +1,5 @@.edit-answer-wrap {- .content-wrap {+ .question-content-wrap {position: relative;margin-bottom: 20px;overflow: hidden;diff --git a/ui/src/pages/Questions/EditAnswer/index.tsx b/ui/src/pages/Questions/EditAnswer/index.tsxindex 7591c74d..58524163 100644--- a/ui/src/pages/Questions/EditAnswer/index.tsx+++ b/ui/src/pages/Questions/EditAnswer/index.tsx@@ -140,7 +140,7 @@ const Ask = () => {<h5 className="mb-3">{data?.question.title}</h5></a>- <div className="content-wrap">+ <div className="question-content-wrap"><divref={questionContentRef}className="content position-absolute top-0 w-100"@@ -174,7 +174,7 @@ const Ask = () => {</Form.Select></Form.Group>- <Form.Group controlId="answer" className="mt-4">+ <Form.Group controlId="answer" className="mt-3"><Form.Label>{t('form.fields.answer.label')}</Form.Label><Editorvalue={formData.answer.value}