Responsible note back to the footer, above the question nav
Deploy / deploy (push) Successful in 1m2s
Deploy / deploy (push) Successful in 1m2s
Under the title it read as asking for feedback before the visitor had seen anything - it's meta, it closes the page rather than opening it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
f1d835d107
commit
3d8af23167
+6
-6
@@ -177,12 +177,6 @@ fn QuestionView(
|
|||||||
description=question.description.clone()
|
description=question.description.clone()
|
||||||
show_yes=question_id == "/"
|
show_yes=question_id == "/"
|
||||||
/>
|
/>
|
||||||
{question
|
|
||||||
.responsible
|
|
||||||
.clone()
|
|
||||||
.map(|r| {
|
|
||||||
view! { <ResponsibleNote responsible=r/> }
|
|
||||||
})}
|
|
||||||
<div class="alternatives">
|
<div class="alternatives">
|
||||||
<For
|
<For
|
||||||
each={
|
each={
|
||||||
@@ -220,6 +214,12 @@ fn QuestionView(
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
{question
|
||||||
|
.responsible
|
||||||
|
.clone()
|
||||||
|
.map(|r| {
|
||||||
|
view! { <ResponsibleNote responsible=r/> }
|
||||||
|
})}
|
||||||
<QuestionNav current_id=question_id has_chain=has_chain/>
|
<QuestionNav current_id=question_id has_chain=has_chain/>
|
||||||
}
|
}
|
||||||
.into_any()
|
.into_any()
|
||||||
|
|||||||
+3
-4
@@ -269,9 +269,8 @@ main.not-found {
|
|||||||
border-bottom-color: var(--accent);
|
border-bottom-color: var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Meta information under the question - same hue family as the
|
/* Meta information above the question nav - dimmer and smaller than
|
||||||
description but dimmer, and smaller: it matters less than what the
|
anything the question itself says. */
|
||||||
question itself says. */
|
|
||||||
.question-responsible {
|
.question-responsible {
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -279,7 +278,7 @@ main.not-found {
|
|||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin: 0.6rem 1rem 1.8rem;
|
margin: 2.2rem 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.question-responsible a {
|
.question-responsible a {
|
||||||
|
|||||||
Reference in New Issue
Block a user