BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6b5708e0
Commit
6b5708e0
authored
Jul 21, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ci icons getting cut off
parent
0b36dcb8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
commit.scss
app/assets/stylesheets/pages/commit.scss
+4
-6
pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+1
-0
status.scss
app/assets/stylesheets/pages/status.scss
+1
-0
ci_status_helper.rb
app/helpers/ci_status_helper.rb
+2
-2
_commit.html.haml
app/views/projects/commits/_commit.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/commit.scss
View file @
6b5708e0
...
@@ -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
;
}
}
}
}
}
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
6b5708e0
...
@@ -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
{
...
...
app/assets/stylesheets/pages/status.scss
View file @
6b5708e0
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
position
:
relative
;
position
:
relative
;
top
:
1px
;
top
:
1px
;
margin
:
0
3px
;
margin
:
0
3px
;
overflow
:
visible
;
}
}
}
}
...
...
app/helpers/ci_status_helper.rb
View file @
6b5708e0
...
@@ -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'
)
...
...
app/views/projects/commits/_commit.html.haml
View file @
6b5708e0
...
@@ -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
...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment