Skip to content

Commit

Permalink
Small markup fix (forem#21374)
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalpern authored Nov 13, 2024
1 parent 033c1de commit 82aa036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/utilities/buildArticleHTML.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ function buildArticleHTML(article, currentUserId = null) {
}">${userName}</a>
${
isArticle
? `<div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"><button id="story-author-preview-trigger-${article.id}" aria-controls="story-author-preview-content-${article.id}" class="profile-preview-card__trigger fs-s crayons-btn crayons-btn--ghost p-1 -ml-1 -my-2" aria-label="${userName} profile details">${userName}</button>${previewCardContent}</div>`
? `<div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"><button id="story-author-preview-trigger-${article.id}" aria-controls="story-author-preview-content-${article.id}" class="profile-preview-card__trigger fs-s crayons-btn crayons-btn--ghost p-1 -ml-1 -my-2" aria-label="profile details">${userName}</button>${previewCardContent}</div>`
: ''
}
${forOrganization}
Expand Down

0 comments on commit 82aa036

Please sign in to comment.