From 057f08f4e7c7f75817c00568d6e7bc07a4f4cc7a Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Wed, 10 Feb 2021 13:36:35 +0100 Subject: [PATCH] Fixes #3274 - Button link attribute too wide (ticket articles) --- .../app/views/ticket_zoom/article_view_actions.jst.eco | 4 ++-- app/assets/stylesheets/zammad.scss | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/views/ticket_zoom/article_view_actions.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/article_view_actions.jst.eco index e4cd4695e..be5bc6980 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/article_view_actions.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/article_view_actions.jst.eco @@ -1,7 +1,7 @@ -
+
<% for action in @actions: %> <%- @Icon(action.icon, 'article-action-icon') %><%- @T(action.name) %> <% end %> -
\ No newline at end of file +
diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index 57176c846..e56a2531f 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/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;