个性签名换行

This commit is contained in:
lmj
2022-10-20 14:19:33 +08:00
parent b21160ba80
commit 7a9ba8f9c4

View File

@@ -194,7 +194,7 @@
</div>
<div class="teacher-remark" v-html="item.authorInfo.sign"></div>
</div>
<div style="padding-top:15px">
<div style="padding-top:15px;width:70px;">
<el-button v-if="current_teacher_follow" v-loading="loading" type="primary" @click="cancelFollow(item)" size="small">已关注</el-button>
<el-button v-if="!current_teacher_follow" v-loading="loading" type="primary" @click="toFollow(item)" size="small">+ 关注</el-button>
</div>
@@ -1857,6 +1857,7 @@
.teacher {
background-color: #ffffff;
display: flex;
width: 100%;
border-top: none;
padding: 10px 0px;
.teacher-avator {
@@ -1892,7 +1893,8 @@
line-height: 20px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
// white-space:nowrap;
word-break:break-all
}
}
}