diff options
author | sarahghp <sarah.groff.palermo@gmail.com> | 2019-04-08 20:37:23 +0300 |
---|---|---|
committer | sarahghp <sarah.groff.palermo@gmail.com> | 2019-04-08 20:37:23 +0300 |
commit | 42f6a8c3b9de6475ab60b5ef7deccd134e92d1ef (patch) | |
tree | d2562382194e8b6976c0cc522f81428f495f1770 /app/views/ci | |
parent | f9e474d460ef889df010eda51773e16b68367a19 (diff) |
Override problematic display with utility class
Diffstat (limited to 'app/views/ci')
-rw-r--r-- | app/views/ci/status/_dropdown_graph_badge.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/ci/status/_dropdown_graph_badge.html.haml b/app/views/ci/status/_dropdown_graph_badge.html.haml index 3b6fc85e70e..369b0f7e62c 100644 --- a/app/views/ci/status/_dropdown_graph_badge.html.haml +++ b/app/views/ci/status/_dropdown_graph_badge.html.haml @@ -6,12 +6,12 @@ - tooltip = "#{subject.name} - #{status.status_tooltip}" - if status.has_details? - = link_to status.details_path, class: 'mini-pipeline-graph-dropdown-item', data: { toggle: 'tooltip', title: tooltip, container: 'body' } do + = link_to status.details_path, class: 'mini-pipeline-graph-dropdown-item d-flex', data: { toggle: 'tooltip', title: tooltip, container: 'body' } do %span{ class: klass }= sprite_icon(status.icon) %span.ci-build-text.text-truncate.mw-70p.gl-pl-1= subject.name - else - .menu-item.mini-pipeline-graph-dropdown-item{ data: { toggle: 'tooltip', title: tooltip, container: 'body' } } + .menu-item.mini-pipeline-graph-dropdown-item.d-flex{ data: { toggle: 'tooltip', title: tooltip, container: 'body' } } %span{ class: klass }= sprite_icon(status.icon) %span.ci-build-text.text-truncate.mw-70p.gl-pl-1= subject.name |