Commit 6b5708e0 authored by Annabel Dunstone's avatar Annabel Dunstone

Fix ci icons getting cut off

parent 0b36dcb8
...@@ -66,13 +66,11 @@ ...@@ -66,13 +66,11 @@
margin-left: 8px; margin-left: 8px;
} }
} }
}
.ci-status-link { .ci-status-link {
svg { svg {
position: relative; overflow: visible;
top: 2px;
margin: 0 3px;
}
} }
} }
......
...@@ -138,6 +138,7 @@ ...@@ -138,6 +138,7 @@
height: 18px; height: 18px;
width: 18px; width: 18px;
vertical-align: middle; vertical-align: middle;
overflow: visible;
} }
.light { .light {
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
position: relative; position: relative;
top: 1px; top: 1px;
margin: 0 3px; margin: 0 3px;
overflow: visible;
} }
} }
......
...@@ -45,10 +45,10 @@ module CiStatusHelper ...@@ -45,10 +45,10 @@ module CiStatusHelper
custom_icon(icon_name) custom_icon(icon_name)
end end
def render_commit_status(commit, tooltip_placement: 'auto left', cssclass: '') def render_commit_status(commit, tooltip_placement: 'auto left')
project = commit.project project = commit.project
path = builds_namespace_project_commit_path(project.namespace, project, commit) path = builds_namespace_project_commit_path(project.namespace, project, commit)
render_status_with_link('commit', commit.status, path, tooltip_placement, cssclass: cssclass) render_status_with_link('commit', commit.status, path, tooltip_placement)
end end
def render_pipeline_status(pipeline, tooltip_placement: 'auto left') def render_pipeline_status(pipeline, tooltip_placement: 'auto left')
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
· ·
= commit.short_id = commit.short_id
- if commit.status - if commit.status
= render_commit_status(commit, cssclass: 'visible-xs-inline') = render_commit_status(commit)
- if commit.description? - if commit.description?
%a.text-expander.hidden-xs.js-toggle-button ... %a.text-expander.hidden-xs.js-toggle-button ...
......
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