题库样式调整

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

@ -176,18 +176,15 @@ class Listjihe extends Component {
<div className="listjihetixingstitsy"> <div className="listjihetixingstitsy">
{ {
this.props.listjihe this.props.listjihe
} }.
</div>
<div className="listjihetixingstitsy">
.
</div> </div>
{ {
items.item_type==="PROGRAM"? items.item_type==="PROGRAM"?
<a href={`/problems/${items.program_attr.identifier}/edit`}> <a href={`/problems/${items.program_attr.identifier}/edit`}>
<div className="ml10 w100s listjihetixingstit markdown-body" style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(items&&items.name).replace(/▁/g, "▁▁▁")}}></div> <div className="ml10 w100s " style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(items&&items.name).replace(/▁/g, "▁▁▁")}}></div>
</a> </a>
: :
<div className="ml10 w100s listjihetixingstit markdown-body" style={{wordBreak: "break-word"}}> <div className="ml10 w100s markdown-body" style={{wordBreak: "break-word"}}>
{ items===undefined||items===null||items===""?"": { items===undefined||items===null||items===""?"":
items.name === undefined || items.name === null || items.name === "" ? items.name === undefined || items.name === null || items.name === "" ?
"" ""
@ -251,7 +248,7 @@ class Listjihe extends Component {
} }
return ( return (
<p className={index === 0 ? "sortinxdirection " : "sortinxdirection mt15 "}> <p className={index === 0 ? "sortinxdirection " : "sortinxdirection mt15 "}>
<p className="lh26">{tagArray[index]}</p> <p className="lh20s">{tagArray[index]}</p>
<p className="programquill" style={{wordBreak: "break-word"}}> <p className="programquill" style={{wordBreak: "break-word"}}>
{object ? {object ?
object.choice_text === undefined || object.choice_text=== null || object.choice_text === "" ? object.choice_text === undefined || object.choice_text=== null || object.choice_text === "" ?

@ -323,7 +323,8 @@
.listjihetixingstitsy { .listjihetixingstitsy {
color: #333333; color: #333333;
font-size: 14px; font-size: 14px;
line-height: 25px; line-height: 20px !important;
height: 25px !important;
} }
.listjihetixingstits{ .listjihetixingstits{
@ -803,6 +804,9 @@
line-height: 20px; line-height: 20px;
background-color: #fff; background-color: #fff;
} }
.lh20s{
line-height: 20px;
}
.backgroudwhites{ .backgroudwhites{
background-color: #fff; background-color: #fff;

Loading…
Cancel
Save