summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-02-28 18:11:55 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-02-28 18:12:04 +0000
commit01f634d324da35e2a183bc8cfefc56bbda05a629 (patch)
tree6a06ae049abddd0b83212b384e91f4672d9ad35e
parent3acf59dfdbd26614abbe61e83b07dd8201204b88 (diff)
downloadgitlab-ce-01f634d324da35e2a183bc8cfefc56bbda05a629.tar.gz
Change the size of CI icon in MR heading [ci skip]
-rw-r--r--app/assets/stylesheets/pages/merge_requests.scss5
-rw-r--r--app/views/projects/merge_requests/widget/_heading.html.haml2
2 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/merge_requests.scss b/app/assets/stylesheets/pages/merge_requests.scss
index 7df6a03ccd7..ad585ff2892 100644
--- a/app/assets/stylesheets/pages/merge_requests.scss
+++ b/app/assets/stylesheets/pages/merge_requests.scss
@@ -102,6 +102,11 @@
@media (max-width: $screen-xs-max) {
flex-wrap: wrap;
}
+
+ .ci-status-icon > .icon-link > svg {
+ width: 22px;
+ height: 22px;
+ }
}
.mr-widget-body,
diff --git a/app/views/projects/merge_requests/widget/_heading.html.haml b/app/views/projects/merge_requests/widget/_heading.html.haml
index c676953f729..e8f17f000dc 100644
--- a/app/views/projects/merge_requests/widget/_heading.html.haml
+++ b/app/views/projects/merge_requests/widget/_heading.html.haml
@@ -2,7 +2,7 @@
.mr-widget-heading
- %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) }
- %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
= ci_icon_for_status(status)
%span