diff --git a/content.js b/content.js index 81904e9..fa2586d 100644 --- a/content.js +++ b/content.js @@ -1653,6 +1653,10 @@
Why it's strong: ${escapeHTML(data.insights.strengths)}
`; + } + if (data.insights.gaps) { + whyHtml += `What's holding it back: ${escapeHTML(data.insights.gaps)}
`; + } + whyEl.innerHTML = whyHtml; + } + // Matching skills const matchingSection = shadowRoot.getElementById('jmMatchingSection'); const matchingEl = shadowRoot.getElementById('jmMatchingSkills'); diff --git a/styles.css b/styles.css index 3ef322b..149c41b 100644 --- a/styles.css +++ b/styles.css @@ -20,3 +20,32 @@ width: 100vw !important; } } + +.jm-why-score { + margin-top: 8px; + font-size: 13px; + text-align: left; +} +.jm-why-summary { + cursor: pointer; + color: #2563eb; + font-weight: 500; + list-style: none; +} +.jm-why-summary::-webkit-details-marker { + display: none; +} +.jm-why-summary::before { + content: "▸ "; +} +details[open] .jm-why-summary::before { + content: "▾ "; +} +.jm-why-content { + margin-top: 6px; + padding: 8px; + background: #f9fafb; + border-radius: 6px; + color: #374151; + line-height: 1.5; +} \ No newline at end of file