fix: 移除购物车卡片描述的高度限制和样式覆盖
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -279,33 +279,10 @@
|
|||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
max-height: 90px;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.card-desc::after {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
height: 24px;
|
|
||||||
background: linear-gradient(transparent, #fff);
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
.card-desc * {
|
|
||||||
all: revert;
|
|
||||||
font-size: 13px !important;
|
|
||||||
color: #6b7280 !important;
|
|
||||||
margin: 0 !important;
|
|
||||||
padding: 0 !important;
|
|
||||||
line-height: 1.6 !important;
|
|
||||||
}
|
|
||||||
.card-desc ul {
|
|
||||||
padding-left: 16px !important;
|
|
||||||
}
|
}
|
||||||
.card-desc img {
|
.card-desc img {
|
||||||
display: none !important;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 卡片底部 */
|
/* 卡片底部 */
|
||||||
|
|||||||
Reference in New Issue
Block a user