优化图标卡片标题省略

This commit is contained in:
2023-06-07 21:01:17 +08:00
parent 6e56e961aa
commit 965d4af832
3 changed files with 22 additions and 16 deletions

View File

@@ -1,29 +1,32 @@
.ul-card-simple-icon {
display : inline-block;
margin-right : 15px;
margin-bottom : 15px;
box-shadow : 0 2px 12px 0 #bbb;
border-radius : 4px;
border : 1px solid #ebeef5;
display: inline-block;
margin-right: 15px;
margin-bottom: 15px;
box-shadow: 0 2px 12px 0 #bbb;
border-radius: 4px;
border: 1px solid #ebeef5;
background-color: #fff;
box-sizing : border-box;
width : 100px;
padding : 10px;
box-sizing: border-box;
width: 100px;
padding: 10px;
text-align: center;
.ul-card-simple-icon-image {
width : 80px;
height : 80px;
background-size : cover;
width: 80px;
height: 80px;
background-size: cover;
background-position: center;
display : inline-block;
display: inline-block;
}
.ul-card-simple-icon-title {
border-top : 2px solid #ebeef5;
margin-top : 8px;
border-top: 2px solid #ebeef5;
margin-top: 8px;
padding-top: 8px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}