fix: 동물약 안내서 모달 - 효능효과/용법용량/주의사항 배경색 추가
- 효능효과: 연녹색 (#f0fdf4) - 용법용량: 연파랑 (#eff6ff) - 주의사항: 연빨강 (#fef2f2) - 각 섹션에 padding, border-radius 추가
This commit is contained in:
parent
e2d3ea032f
commit
f374ca4fd1
@ -1148,19 +1148,19 @@
|
||||
</div>
|
||||
|
||||
${info.efficacy_effect ? `
|
||||
<div style="margin-bottom:12px;">
|
||||
<div style="margin-bottom:12px;background:#f0fdf4;padding:12px;border-radius:8px;">
|
||||
<h5 style="margin:0 0 6px;color:#059669;">▶ 효능효과</h5>
|
||||
<p style="margin:0;font-size:13px;line-height:1.5;color:#334155;">${escapeHtml(info.efficacy_effect)}</p>
|
||||
</div>` : ''}
|
||||
|
||||
${info.dosage_instructions ? `
|
||||
<div style="margin-bottom:12px;">
|
||||
<div style="margin-bottom:12px;background:#eff6ff;padding:12px;border-radius:8px;">
|
||||
<h5 style="margin:0 0 6px;color:#0284c7;">▶ 용법용량</h5>
|
||||
<p style="margin:0;font-size:13px;line-height:1.5;color:#334155;">${escapeHtml(info.dosage_instructions)}</p>
|
||||
</div>` : ''}
|
||||
|
||||
${info.precautions ? `
|
||||
<div style="margin-bottom:12px;">
|
||||
<div style="margin-bottom:12px;background:#fef2f2;padding:12px;border-radius:8px;">
|
||||
<h5 style="margin:0 0 6px;color:#dc2626;">▶ 주의사항</h5>
|
||||
<p style="margin:0;font-size:13px;line-height:1.5;color:#334155;">${escapeHtml(info.precautions.substring(0, 500))}${info.precautions.length > 500 ? '...' : ''}</p>
|
||||
</div>` : ''}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user