Fixes #3274 - Button link attribute too wide (ticket articles)

This commit is contained in:
Mantas Masalskis 2021-02-10 13:36:35 +01:00
parent 1e9cec8827
commit 057f08f4e7
2 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,7 @@
<div class="article-content article-actions horizontal stretch"> <div class="article-content article-actions horizontal">
<% for action in @actions: %> <% for action in @actions: %>
<a href="<%= action.href %>" data-type="<%= action.type %>" class="article-action js-ArticleAction u-clickable<% if action.class: %> <%= action.class %><% end %>"> <a href="<%= action.href %>" data-type="<%= action.type %>" class="article-action js-ArticleAction u-clickable<% if action.class: %> <%= action.class %><% end %>">
<%- @Icon(action.icon, 'article-action-icon') %><span class="article-action-name"><%- @T(action.name) %></span> <%- @Icon(action.icon, 'article-action-icon') %><span class="article-action-name"><%- @T(action.name) %></span>
</a> </a>
<% end %> <% end %>
</div> </div>

View file

@ -5687,6 +5687,10 @@ footer {
position: relative; position: relative;
z-index: 1; z-index: 1;
padding: 0 55px; padding: 0 55px;
&.article-actions {
justify-content: space-around;
}
} }
.article-content-meta { .article-content-meta {
@ -5968,11 +5972,11 @@ footer {
} }
.ticket-article-item .task-subline { .ticket-article-item .task-subline {
margin-top: 12px; margin-top: 7px;
} }
.article-action { .article-action {
padding-top: 5px; padding: 5px 16px 5px 16px;
margin-top: 5px; margin-top: 5px;
color: hsl(198,4%,56%); color: hsl(198,4%,56%);
font-size: 12px; font-size: 12px;