From ad9f3f16e6c446563a4aee217f77aab19d9edfb6 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 29 Sep 2024 21:58:43 +0000 Subject: [PATCH] Fixes some align issues on Calendar, Gantt, Files section from issue page and on mobile version (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23093 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/assets/stylesheets/application.css | 2 ++ app/assets/stylesheets/responsive.css | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index ddda3d9af..716f430cf 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1667,6 +1667,7 @@ td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container { .icon, .icon-only { display: inline-flex; align-items: center; + vertical-align: middle; } a.icon:hover svg, a.icon-only:hover svg { @@ -1699,6 +1700,7 @@ svg { stroke: #169; fill: none; stroke-width: 1.5; + vertical-align: middle; } &.s20 { diff --git a/app/assets/stylesheets/responsive.css b/app/assets/stylesheets/responsive.css index 66216ef80..52107b709 100644 --- a/app/assets/stylesheets/responsive.css +++ b/app/assets/stylesheets/responsive.css @@ -604,7 +604,7 @@ p.buttons a { font-weight: bold; - display: inline-block; + display: inline-flex; margin: 5px 0; margin-right: 2px; @@ -624,8 +624,8 @@ padding-bottom: 9px; } - #content>.contextual a.icon, - p.buttons a.icon { + #content>.contextual a.icon:not(:has(svg)), + p.buttons a.icon:not(:has(svg)) { background-position-x: 4px; padding-left: 25px; } -- 2.39.5