Skip to content

Commit

Permalink
Improve display of public questions
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Nov 25, 2024
1 parent ea83b5a commit 6d6f259
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pretalx/agenda/templates/agenda/talk.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ <h3 class="talk-title">
<hr />
<section class="answers">
{% for answer in answers %}
<span class="question"><strong>{{ answer.question.question }}</strong></span>
<span class="answer">{% include "common/question_answer.html" with answer=answer %}</span>
<span class="question"><strong>{{ answer.question.question }}:</strong></span>
<span class="answer {% if question.variant != "text" %}answer-strip-paragraph{% endif %}">{% include "common/question_answer.html" with answer=answer %}</span>
{% endfor %}
{% endif %}
</section>
Expand Down
4 changes: 4 additions & 0 deletions src/pretalx/static/agenda/css/_agenda.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ article .pretalx-session .pretalx-session-info .abstract {
padding-top: 56.25%;
}

.answer.answer-strip-paragraph p {
display: contents;
}

@media (max-width: 1200px) {
header {
text-align: right;
Expand Down

0 comments on commit 6d6f259

Please sign in to comment.