题库 样式调整

dev_new_shixunsrepository
杨树林 5 years ago
parent 5e4f53570f
commit 868d2bc43c

@ -99,7 +99,8 @@ class Paperreview_single extends Component {
<style>{ <style>{
` `
.programquill .ql-editor{ .programquill .ql-editor{
padding: 0px; padding-left: 0px !important;
padding-top: 0px !important;
} }
.programquill .ql-editor p{ .programquill .ql-editor p{
@ -107,7 +108,8 @@ class Paperreview_single extends Component {
} }
.programquills .ql-editor{ .programquills .ql-editor{
padding: 0px; padding-left: 0px !important;
padding-top: 0px !important;
} }
.programquills .ql-editor p{ .programquills .ql-editor p{

@ -383,7 +383,7 @@ class ChoquesEditor extends Component{
{question_choices.map( (item, index) => { {question_choices.map( (item, index) => {
const bg = standard_answers[index] ? 'check-option-bg' : '' const bg = standard_answers[index] ? 'check-option-bg' : ''
return <div className={index>0?"df optionRow mt15": "df optionRow"} > return <div key={index} className={index>0?"df optionRow mt15": "df optionRow"} >
{/* 点击设置答案 */} {/* 点击设置答案 */}
{/* TODO 加了tooltip后会丢失掉span的class */} {/* TODO 加了tooltip后会丢失掉span的class */}
{/* <Tooltip title={standard_answers[index] ? '点击取消标准答案设置' : '点击设置为标准答案'}> */} {/* <Tooltip title={standard_answers[index] ? '点击取消标准答案设置' : '点击设置为标准答案'}> */}

@ -159,22 +159,16 @@ class Listjihe extends Component {
<style> <style>
{ {
` .markdown-body .ql-editor{ ` .markdown-body .ql-editor{
padding-left: 0px; padding-left: 0px !important;
} padding-top: 0px !important;
.markdown-body .ql-editor p{
line-height: 0px;
} }
.programquill .ql-editor{ .programquill .ql-editor{
padding-left: 0px; padding-left: 0px !important;
padding-top: 0px !important;
} }
.programquill .ql-editor p{
line-height: 0px;
}
` `
} }
</style> </style>

@ -95,7 +95,8 @@ class Paperlibraryseeid_items extends Component {
<style>{ <style>{
` `
.programquill .ql-editor{ .programquill .ql-editor{
padding: 0px; padding-left: 0px !important;
padding-top: 0px !important;
} }
.programquill .ql-editor p{ .programquill .ql-editor p{
@ -103,7 +104,8 @@ class Paperlibraryseeid_items extends Component {
} }
.programquills .ql-editor{ .programquills .ql-editor{
padding: 0px; padding-left: 0px !important;
padding-top: 0px !important;
} }
.programquills .ql-editor p{ .programquills .ql-editor p{

Loading…
Cancel
Save