优化图标卡片标题省略

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

@@ -347,6 +347,9 @@
border-top: 2px solid #ebeef5; border-top: 2px solid #ebeef5;
margin-top: 8px; margin-top: 8px;
padding-top: 8px; padding-top: 8px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
} }
.ul-card-message { .ul-card-message {

File diff suppressed because one or more lines are too long

View File

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