Skip to content

Commit

Permalink
Merge pull request #301 from StampyAI/banners
Browse files Browse the repository at this point in the history
Fix banners position
  • Loading branch information
Aprillion committed Aug 8, 2023
2 parents 2f9cd81 + b2dcd93 commit 205a070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/questions/$question.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ export function Question({
</h2>
<AutoHeight>
<div className="answer" draggable="false">
<div className="banners">{banners && banners.map(Banner)}</div>
{isExpanded && (
<>
<div className="banners">{banners && banners.map(Banner)}</div>
<Contents pageid={pageid} html={html} glossary={glossary} />
{text !== null && text !== UNKNOWN_QUESTION_TITLE && (
/* Any changes to this class should also be reflected in App.handleSpecialLinks */
Expand Down

0 comments on commit 205a070

Please sign in to comment.