Skip to content

Commit

Permalink
Fix banners position
Browse files Browse the repository at this point in the history
  • Loading branch information
mruwnik committed Aug 8, 2023
1 parent 616d221 commit b2dcd93
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 b2dcd93

Please sign in to comment.