mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-06 17:36:44 +08:00
标签页样式调整
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
<!-- 关联课程名称 -->
|
||||
<template v-else-if="column.key === 'courseName'">
|
||||
<a-tooltip placement="topLeft" :title="record.courseName">
|
||||
<div class="course-name-cell">
|
||||
<div class="course-name-cell ellipsis">
|
||||
{{ record.courseName }}
|
||||
</div>
|
||||
</a-tooltip>
|
||||
@@ -860,6 +860,12 @@ export default {
|
||||
// 每行显示15个汉字,2行显示30个字
|
||||
max-width: 240px;
|
||||
margin: 0 auto;
|
||||
|
||||
&.ellipsis {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.creator-cell {
|
||||
@@ -892,6 +898,12 @@ export default {
|
||||
// 每行15个汉字,2行显示30个字
|
||||
max-width: 240px;
|
||||
margin: 0 auto;
|
||||
|
||||
&.ellipsis {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
/* 媒体查询适配不同分辨率 */
|
||||
|
||||
Reference in New Issue
Block a user