From 53bc596cb936370e8afd4eba5a7fe3ee4214c876 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 3 Jul 2023 11:30:14 +0800 Subject: [PATCH] md style --- src/modules/tpm/challengesnew/css/newquestion.css | 9 +++++++++ src/modules/tpm/challengesnew/tpm-md-editor.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/modules/tpm/challengesnew/css/newquestion.css b/src/modules/tpm/challengesnew/css/newquestion.css index 3953a087..7161365b 100644 --- a/src/modules/tpm/challengesnew/css/newquestion.css +++ b/src/modules/tpm/challengesnew/css/newquestion.css @@ -71,4 +71,13 @@ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; +} +.editormd-editing{ + border: 1px solid #ddd; + padding-bottom: 1px; +} +.editormd-editing .editormd{ + border: none; + margin:0px auto; + overflow: unset; } \ No newline at end of file diff --git a/src/modules/tpm/challengesnew/tpm-md-editor.js b/src/modules/tpm/challengesnew/tpm-md-editor.js index bd5986cf..601b979c 100644 --- a/src/modules/tpm/challengesnew/tpm-md-editor.js +++ b/src/modules/tpm/challengesnew/tpm-md-editor.js @@ -120,7 +120,7 @@ export default ({ mdID, onChange, onCMBeforeChange, onCMBlur, error = false, cla // 请求issues接口获取全部可quote的issue列表 function getIssueList(keyword){ axios.get(`/v1/${owner}/${projectsId}/issues`,{params:{ - only_name:true,keyword,sort_direction:"desc",sort_by:"issues.created_on" + only_name:true,keyword,sort_direction:"desc",sort_by:"issues.created_on",limit:500 }}).then(result=>{ if(result){ !keyword && setIssues(result.data.issues);