remove extra margin (#14086)

This commit is contained in:
Suzanne Aitchison 2021-06-29 06:01:03 +01:00 committed by GitHub
parent ffe31cd5aa
commit ad5caa1f67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ function buildCommentHTML(comment) {
<a href="/${ comment.user.username }" class="crayons-link crayons-link--secondary flex items-center fw-medium m:hidden">
<span class="js-comment-username">${ comment.user.name }</span>
</a>
<div class="profile-preview-card relative mr-4 mb-4 s:mb-0 fw-medium hidden m:block">
<div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:block">
<button id="comment-profile-preview-trigger-${comment.id}" aria-controls="comment-profile-preview-content-${comment.id}" class="profile-preview-card__trigger px-0 crayons-btn crayons-btn--ghost" aria-label="${comment.user.name} profile details">${comment.user.name}</button>
<span data-js-comment-user-id="${comment.user.id}" data-js-dropdown-content-id="comment-profile-preview-content-${comment.id}" class="preview-card-placeholder"></span>
</div>

View file

@ -7,7 +7,7 @@
</span>
<% end %>
</a>
<div class="profile-preview-card relative mr-4 mb-4 s:mb-0 fw-medium hidden m:block">
<div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:block">
<button id="comment-profile-preview-trigger-<%= comment.id %>" aria-controls="comment-profile-preview-content-<%= comment.id %>" class="profile-preview-card__trigger px-0 crayons-btn crayons-btn--ghost" aria-label="<%= comment.user.name %> profile details">
<%= comment.user.name %>
</button>