fix: more visual fixes to make it tidy

This commit is contained in:
Jet 2026-03-26 17:40:58 -07:00
parent 6ba64d29a9
commit d76a44aa02
No known key found for this signature in database
2 changed files with 17 additions and 14 deletions

View file

@ -66,8 +66,8 @@ function renderQuestions(list: HTMLElement, questions: Question[]) {
<div class="qa-item-meta" role="note">
${formatQuestionTooltip(q)}
</div>
<p style="color: var(--light-cyan);">${escapeHtml(q.question)}</p>
<p class="mt-[1ch]" style="color: var(--light-green);">${escapeHtml(q.answer)}</p>
<p style="color: var(--light-gray);">${escapeHtml(q.question)}</p>
<p class="mt-[1ch]" style="color: var(--light-blue);">${escapeHtml(q.answer)}</p>
</section>`,
)
.join("");
@ -91,7 +91,7 @@ export async function qaPage(outlet: HTMLElement) {
class="qa-textarea"
aria-describedby="qa-status char-count"
placeholder="${escapeHtml(placeholderQuestion)}">${escapeHtml(draft)}</textarea>
<div class="qa-input-bar" aria-hidden="true">
<div class="qa-input-bar">
<span id="char-count" class="qa-bar-text">${draft.length}/200</span>
<button id="qa-submit" type="submit" class="qa-button">[SUBMIT]</button>
</div>