Minor margin added + different anchor in link (#18450)

This commit is contained in:
Fernando Valverde 2022-09-15 08:57:30 -06:00 committed by GitHub
parent b84fa1da08
commit 2ca01b0c9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
num: tag.span(t("views.articles.comments.num", num: @article.comments_count), class: "js-comments-count", data: { comments_count: @article.comments_count })) %> num: tag.span(t("views.articles.comments.num", num: @article.comments_count), class: "js-comments-count", data: { comments_count: @article.comments_count })) %>
</h2> </h2>
<button class="c-btn c-btn--ghost crayons-btn--icon-left" id="toggle-comments-sort-dropdown" aria-controls="comments-sort-dropdown-container" aria-expanded="false" aria-label="<%= t("views.articles.comments.sort_button.aria_label") %>" aria-haspopup="true"> <button class="c-btn c-btn--ghost crayons-btn--icon-left" id="toggle-comments-sort-dropdown" aria-controls="comments-sort-dropdown-container" aria-expanded="false" aria-label="<%= t("views.articles.comments.sort_button.aria_label") %>" aria-haspopup="true">
<%= inline_svg_tag("expand.svg", aria_hidden: true, title: t("views.moderations.actions.admin.icon")) %> <%= inline_svg_tag("expand.svg", aria_hidden: true, title: t("views.moderations.actions.admin.icon"), class: "mt-2") %>
</button> </button>
</div> </div>

View file

@ -1,6 +1,6 @@
<li class="comment-sort-option"> <li class="comment-sort-option">
<a <a
href="<%= @article.path %>?comments_sort=<%= sort_order %>#comments" href="<%= @article.path %>?comments_sort=<%= sort_order %>#toggle-comments-sort-dropdown"
class="comment-sort-option__header pl-7 pb-0 crayons-link--block block" class="comment-sort-option__header pl-7 pb-0 crayons-link--block block"
aria-describedby="<%= sort_order %>-description-text" aria-describedby="<%= sort_order %>-description-text"
aria-current="<%= "page" if show_selected %>"> aria-current="<%= "page" if show_selected %>">