From 0b63a00af2a2e7bb297435c995e37509e76f6653 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 9 May 2023 16:30:08 +0800 Subject: [PATCH] issue 2910 and 2911 --- src/modules/tpm/challengesnew/css/newquestion.css | 4 ++-- src/modules/tpm/challengesnew/tpm-md-editor.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/tpm/challengesnew/css/newquestion.css b/src/modules/tpm/challengesnew/css/newquestion.css index 7b7f251d0..3953a0871 100644 --- a/src/modules/tpm/challengesnew/css/newquestion.css +++ b/src/modules/tpm/challengesnew/css/newquestion.css @@ -6,7 +6,7 @@ border-color: #5091FF !important; } .quoteDiv{ - width: 360px!important; + width: 40%!important; max-height: 280px!important; } .quoteDiv > li{ @@ -41,7 +41,7 @@ /*md编辑器中输入@弹出可选人列表样式*/ .at_who_list,.quoteDiv{ position: absolute; - z-index: 100; + z-index: 10000; width: 180px; max-height: 160px; background: #FFFFFF; diff --git a/src/modules/tpm/challengesnew/tpm-md-editor.js b/src/modules/tpm/challengesnew/tpm-md-editor.js index a740c4553..bd5986cf3 100644 --- a/src/modules/tpm/challengesnew/tpm-md-editor.js +++ b/src/modules/tpm/challengesnew/tpm-md-editor.js @@ -761,10 +761,10 @@ export default ({ mdID, onChange, onCMBeforeChange, onCMBlur, error = false, cla return ( - {atWhoVisible && atWhoList}
- {quoteVisible && QuoteDiv }
+ {quoteVisible && QuoteDiv } + {atWhoVisible && atWhoList}