From cb9c4d21154fd57fc601a9c6a013b7d8a15725a8 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Fri, 28 Jun 2019 08:49:25 +0800 Subject: [PATCH] css --- .../src/modules/courses/exercise/new/NullChildEditor.js | 6 +++--- public/react/src/modules/courses/exercise/new/NullEditor.js | 2 +- .../react/src/modules/courses/exercise/new/SingleEditor.js | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/public/react/src/modules/courses/exercise/new/NullChildEditor.js b/public/react/src/modules/courses/exercise/new/NullChildEditor.js index a78028b20..434211f1d 100644 --- a/public/react/src/modules/courses/exercise/new/NullChildEditor.js +++ b/public/react/src/modules/courses/exercise/new/NullChildEditor.js @@ -39,14 +39,14 @@ class NullChildEditor extends Component{ let { question_title, question_score, question_type, question_choices, standard_answers } = this.state; let { question_id, index, onAnswerChange, addChildAnswer, toMDMode, exerciseIsPublish, answers } = this.props; - + // marginTop: '18px' return( -
+
答案(填空{index + 1}):
{ answers.map((item, itemIndex) => { - return
+ return
diff --git a/public/react/src/modules/courses/exercise/new/SingleEditor.js b/public/react/src/modules/courses/exercise/new/SingleEditor.js index 02efe2443..6120e9aea 100644 --- a/public/react/src/modules/courses/exercise/new/SingleEditor.js +++ b/public/react/src/modules/courses/exercise/new/SingleEditor.js @@ -219,9 +219,10 @@ class SingleEditor extends Component{ } .optionRow { margin:0px!important; - margin-bottom: 20px!important; + /* margin-bottom: 20px!important; */ } .signleEditor .content_editorMd_show{ + display: flex; margin-top:0px!important; border-radius:2px; max-width: 1056px;