BigW Consortium Gitlab

Commit 01f634d3 by Filipa Lacerda

Change the size of CI icon in MR heading [ci skip]

parent 3acf59df
...@@ -102,6 +102,11 @@ ...@@ -102,6 +102,11 @@
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
flex-wrap: wrap; flex-wrap: wrap;
} }
.ci-status-icon > .icon-link > svg {
width: 22px;
height: 22px;
}
} }
.mr-widget-body, .mr-widget-body,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.mr-widget-heading .mr-widget-heading
- %w[success success_with_warnings skipped canceled failed running pending].each do |status| - %w[success success_with_warnings skipped canceled failed running pending].each do |status|
.ci_widget{ class: "ci-#{status}", style: ("display:none" unless @pipeline.status == status) } .ci_widget{ class: "ci-#{status}", style: ("display:none" unless @pipeline.status == status) }
%div{ class: "ci-status-icon-#{status}" } %div{ class: "ci-status-icon ci-status-icon-#{status}" }
= link_to namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'icon-link' do = link_to namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'icon-link' do
= ci_icon_for_status(status) = ci_icon_for_status(status)
%span %span
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment