Merge branch 'feat/ui-0.5.0' into 'test'

fix(ui): fix the problem of editor spacing error

See merge request opensource/answer!304
This commit is contained in:
Ren Yubin 2022-12-01 08:30:20 +00:00
commit 3b6827f9cb
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
.edit-answer-wrap {
.content-wrap {
.question-content-wrap {
position: relative;
margin-bottom: 20px;
overflow: hidden;

View File

@ -140,7 +140,7 @@ const Ask = () => {
<h5 className="mb-3">{data?.question.title}</h5>
</a>
<div className="content-wrap">
<div className="question-content-wrap">
<div
ref={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>
<Editor
value={formData.answer.value}