|
@@ -1307,8 +1307,8 @@ export default {
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
margin-bottom: 12rpx;
|
|
margin-bottom: 12rpx;
|
|
|
}
|
|
}
|
|
|
-.dish-name { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: 600; color: $facade-text-strong; }
|
|
|
|
|
-.dish-cal { font-size: calc(24rpx * var(--font-scale, 1)); color: $brand-primary-deep; font-weight: 600; }
|
|
|
|
|
|
|
+.dish-name { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: 600; color: $facade-text-strong; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
|
|
|
+.dish-cal { font-size: calc(24rpx * var(--font-scale, 1)); color: $brand-primary-deep; font-weight: 600; flex-shrink: 0; margin-left: 12rpx; }
|
|
|
.dish-ingredients {
|
|
.dish-ingredients {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
@@ -1321,6 +1321,9 @@ export default {
|
|
|
border-radius: 24rpx;
|
|
border-radius: 24rpx;
|
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
|
color: $facade-text-body;
|
|
color: $facade-text-body;
|
|
|
|
|
+ max-width: 100%;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ word-break: break-word;
|
|
|
}
|
|
}
|
|
|
.dish-method {
|
|
.dish-method {
|
|
|
margin-bottom: 16rpx;
|
|
margin-bottom: 16rpx;
|
|
@@ -1381,7 +1384,7 @@ export default {
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
}
|
|
}
|
|
|
.nutrition-card .card-body { background: $flat-bg; border-radius: 0 0 24rpx 24rpx; }
|
|
.nutrition-card .card-body { background: $flat-bg; border-radius: 0 0 24rpx 24rpx; }
|
|
|
-.nutrition-value { font-size: calc(40rpx * var(--font-scale, 1)); font-weight: 700; color: $brand-primary-deep; display: block; }
|
|
|
|
|
|
|
+.nutrition-value { font-size: calc(40rpx * var(--font-scale, 1)); font-weight: 700; color: $brand-primary-deep; display: block; word-break: break-word; }
|
|
|
.nutrition-unit {
|
|
.nutrition-unit {
|
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
|
color: $facade-text-muted;
|
|
color: $facade-text-muted;
|
|
@@ -1570,6 +1573,7 @@ export default {
|
|
|
margin-bottom: 16rpx;
|
|
margin-bottom: 16rpx;
|
|
|
padding-bottom: 16rpx;
|
|
padding-bottom: 16rpx;
|
|
|
border-bottom: 1rpx solid $facade-fill;
|
|
border-bottom: 1rpx solid $facade-fill;
|
|
|
|
|
+ word-break: break-word;
|
|
|
}
|
|
}
|
|
|
.overview-item {
|
|
.overview-item {
|
|
|
padding: 16rpx 0;
|
|
padding: 16rpx 0;
|
|
@@ -1603,6 +1607,9 @@ export default {
|
|
|
padding: 4rpx 12rpx;
|
|
padding: 4rpx 12rpx;
|
|
|
border-radius: 16rpx;
|
|
border-radius: 16rpx;
|
|
|
background: $facade-fill-2;
|
|
background: $facade-fill-2;
|
|
|
|
|
+ max-width: 100%;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ word-break: break-word;
|
|
|
}
|
|
}
|
|
|
.score-green {
|
|
.score-green {
|
|
|
color: $status-success;
|
|
color: $status-success;
|
|
@@ -1796,6 +1803,7 @@ export default {
|
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
|
line-height: 1.5;
|
|
line-height: 1.5;
|
|
|
color: $mat-red;
|
|
color: $mat-red;
|
|
|
|
|
+ word-break: break-word;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* CR-08 第2条:食谱菜卡加工建议 / 配伍避让提示 */
|
|
/* CR-08 第2条:食谱菜卡加工建议 / 配伍避让提示 */
|
|
@@ -1807,11 +1815,13 @@ export default {
|
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
|
line-height: 1.5;
|
|
line-height: 1.5;
|
|
|
color: $status-warning;
|
|
color: $status-warning;
|
|
|
|
|
+ word-break: break-word;
|
|
|
}
|
|
}
|
|
|
.pairing-hint-text {
|
|
.pairing-hint-text {
|
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
font-size: calc(22rpx * var(--font-scale, 1));
|
|
|
line-height: 1.5;
|
|
line-height: 1.5;
|
|
|
color: $status-danger;
|
|
color: $status-danger;
|
|
|
|
|
+ word-break: break-word;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* CR-08 第3条:家庭总览调整标记 */
|
|
/* CR-08 第3条:家庭总览调整标记 */
|