dev_auth
杨树林 6 years ago
parent 5b90fb22a8
commit f9f4edb3ad

@ -837,6 +837,13 @@ reglistviewdivs2 {
cursor: default; cursor: default;
} }
.maxnamewidth78 {
max-width: 78px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: default;
}
.maxnamewidth85 { .maxnamewidth85 {
max-width: 85px; max-width: 85px;
overflow: hidden; overflow: hidden;

@ -78,13 +78,13 @@ class PersonalCompetititem extends React.Component {
<img className="regitemimg2" src={getImageUrl("images/" + item.creator.image_url)}> <img className="regitemimg2" src={getImageUrl("images/" + item.creator.image_url)}>
</img> </img>
<p className="" style={{ <a className="maxnamewidth78" style={{
color: "#999999", color: "#999999",
fontSize: "14px", fontSize: "14px",
width: "78px", width: "78px",
textAlign: "center" textAlign: "center"
}}>{item.creator.name}</p> }}>{item.creator.name}</a>
</div> </div>
<div className=" " style={{ <div className=" " style={{
marginTop: "29px", marginTop: "29px",

Loading…
Cancel
Save