dev_forum
hjm 6 years ago
parent 18a37dda3a
commit 41c65dc865

@ -283,6 +283,9 @@ class LeftView extends Component {
color: #CDCDCD; color: #CDCDCD;
flex: 0 0 45px; flex: 0 0 45px;
} }
.markdown-body ol, .markdown-body ul {
padding-left: 2.5em;
}
`}</style> `}</style>
<div className="multiLevelAnswer"> <div className="multiLevelAnswer">
@ -293,7 +296,7 @@ class LeftView extends Component {
<div className="name">{item.name}</div> <div className="name">{item.name}</div>
<div className="status">已解锁</div> <div className="status">已解锁</div>
</div> </div>
<div className="contents" dangerouslySetInnerHTML={{__html: markdownToHTML(item.contents)}}> <div className="contents markdown-body" dangerouslySetInnerHTML={{__html: markdownToHTML(item.contents)}}>
</div> </div>
</div> </div>
})} })}

Loading…
Cancel
Save