fix: 知识卡片第二行字号缩小+nowrap确保一行显示
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 15s
Test / e2e-test (push) Failing after 1m24s
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 15s
Test / e2e-test (push) Failing after 1m24s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,14 +6,14 @@
|
|||||||
<span style="font-size:22px">💧</span>
|
<span style="font-size:22px">💧</span>
|
||||||
<div>
|
<div>
|
||||||
<div style="font-size:14px;font-weight:600;color:#2e7d32">稀释比例</div>
|
<div style="font-size:14px;font-weight:600;color:#2e7d32">稀释比例</div>
|
||||||
<div style="font-size:11px;color:#558b2f;margin-top:2px">不同年龄段的稀释指南</div>
|
<div style="font-size:10px;color:#558b2f;margin-top:2px;white-space:nowrap">不同年龄段的稀释指南</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div @click="showContra = true" style="flex:1;min-width:140px;background:linear-gradient(135deg,#fff8e1,#ffecb3);border-radius:12px;padding:12px 16px;cursor:pointer;transition:transform 0.2s;display:flex;align-items:center;gap:10px" @mouseover="$event.currentTarget.style.transform='translateY(-2px)'" @mouseout="$event.currentTarget.style.transform=''">
|
<div @click="showContra = true" style="flex:1;min-width:140px;background:linear-gradient(135deg,#fff8e1,#ffecb3);border-radius:12px;padding:12px 16px;cursor:pointer;transition:transform 0.2s;display:flex;align-items:center;gap:10px" @mouseover="$event.currentTarget.style.transform='translateY(-2px)'" @mouseout="$event.currentTarget.style.transform=''">
|
||||||
<span style="font-size:22px">⚠️</span>
|
<span style="font-size:22px">⚠️</span>
|
||||||
<div>
|
<div>
|
||||||
<div style="font-size:14px;font-weight:600;color:#f57f17">使用禁忌</div>
|
<div style="font-size:14px;font-weight:600;color:#f57f17">使用禁忌</div>
|
||||||
<div style="font-size:11px;color:#ff8f00;margin-top:2px">安全使用精油的注意事项</div>
|
<div style="font-size:10px;color:#ff8f00;margin-top:2px;white-space:nowrap">安全使用精油的注意事项</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user