fix(webmentions): rename h2 to Interactions and apply text-lg font-semibold style
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
{% if mentions.length %}
|
{% if mentions.length %}
|
||||||
<section class="webmentions mt-8 pt-8 border-t border-surface-200 dark:border-surface-700" id="webmentions">
|
<section class="webmentions mt-8 pt-8 border-t border-surface-200 dark:border-surface-700" id="webmentions">
|
||||||
<h2 class="text-xl font-bold text-surface-900 dark:text-surface-100 mb-6">
|
<h2 class="text-lg font-semibold text-surface-700 dark:text-surface-300 mb-6">
|
||||||
Interactions ({{ mentions.length }})
|
Interactions ({{ mentions.length }})
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
|||||||
@@ -630,8 +630,8 @@
|
|||||||
section.setAttribute('aria-label', 'Webmentions');
|
section.setAttribute('aria-label', 'Webmentions');
|
||||||
|
|
||||||
const header = document.createElement('h2');
|
const header = document.createElement('h2');
|
||||||
header.className = 'text-xl font-bold text-surface-900 dark:text-surface-100 mb-6';
|
header.className = 'text-lg font-semibold text-surface-700 dark:text-surface-300 mb-6';
|
||||||
header.textContent = 'Webmentions (0)';
|
header.textContent = 'Interactions (0)';
|
||||||
|
|
||||||
section.appendChild(header);
|
section.appendChild(header);
|
||||||
webmentionForm.parentNode.insertBefore(section, webmentionForm);
|
webmentionForm.parentNode.insertBefore(section, webmentionForm);
|
||||||
|
|||||||
Reference in New Issue
Block a user