Responsible note as <small>: meta information, dimmer than the description
Deploy / deploy (push) Successful in 1m4s

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bendik Aagaard Lynghaug
2026-08-12 23:47:14 +02:00
co-authored by Claude Sonnet 5
parent ab2b3ec128
commit f1d835d107
2 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -290,13 +290,13 @@ fn ResponsibleNote(responsible: Responsible) -> impl IntoView {
}; };
view! { view! {
<p class="question-responsible"> <small class="question-responsible">
"Asked by " {responsible.name.clone()} "" "Asked by " {responsible.name.clone()} ""
<a data-user=user data-domain=domain on:mouseover=assemble on:click=assemble> <a data-user=user data-domain=domain on:mouseover=assemble on:click=assemble>
"contact them" "contact them"
</a> </a>
" if you get stuck." " if you get stuck."
</p> </small>
} }
} }
+6 -3
View File
@@ -269,12 +269,15 @@ main.not-found {
border-bottom-color: var(--accent); border-bottom-color: var(--accent);
} }
/* Same hue and size as the hero description it sits under - one line, /* Meta information under the question - same hue family as the
reading as part of the question's own text. */ description but dimmer, and smaller: it matters less than what the
question itself says. */
.question-responsible { .question-responsible {
display: block;
text-align: center; text-align: center;
color: var(--ink-dim); color: var(--ink-dim);
font-size: 1.05rem; opacity: 0.7;
font-size: 0.85rem;
line-height: 1.6; line-height: 1.6;
margin: 0.6rem 1rem 1.8rem; margin: 0.6rem 1rem 1.8rem;
} }