Browse Source

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

Mantas Masalskis 4 years ago
parent
commit
057f08f4e7

+ 2 - 2
app/assets/javascripts/app/views/ticket_zoom/article_view_actions.jst.eco

@@ -1,7 +1,7 @@
-<div class="article-content article-actions horizontal stretch">
+<div class="article-content article-actions horizontal">
   <% 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 %>">
       <%- @Icon(action.icon, 'article-action-icon') %><span class="article-action-name"><%- @T(action.name) %></span>
     </a>
   <% end %>
-</div>
+</div>

+ 6 - 2
app/assets/stylesheets/zammad.scss

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