diff --git a/src/view/home.vue b/src/view/home.vue
index 50a8101..3163247 100644
--- a/src/view/home.vue
+++ b/src/view/home.vue
@@ -477,18 +477,28 @@ export default {
flex-direction: column;
height: 2rem;
position: relative;
+ padding-top: 0.2rem;
+ box-sizing: border-box;
}
.home .page-content .new-card .card-list li .right h3 {
font-size: 0.32rem;
font-weight: 400;
color: rgba(51, 51, 51, 1);
- margin-bottom: 0.1rem;
+ margin-bottom: 0.13rem;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 1;
+ line-height:1;
+ word-wrap: break-word;
}
.home .page-content .new-card .card-list li .right .text {
font-size: 0.24rem;
font-weight: 400;
+ line-height:1;
color: rgba(153, 153, 153, 1);
- margin-bottom: 0.1rem;
+ margin-bottom: 0.16rem;
}
.home .page-content .new-card .card-list li .right .card-name {
height: 0.3rem;
@@ -496,6 +506,12 @@ export default {
font-style: normal;
font-weight: 400;
color: rgba(244, 163, 83, 1);
+ text-overflow: ellipsis;
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 1;
+ word-wrap: break-word;
}
.home .page-content .new-card .card-list li .right .card-name i {
font-style: normal;