Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
6f11ffe8
Commit
6f11ffe8
authored
Nov 22, 2016
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spacing between icon and word in status badge
parent
b8980e89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
18 deletions
+10
-18
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+0
-8
app/assets/stylesheets/pages/status.scss
app/assets/stylesheets/pages/status.scss
+9
-9
app/helpers/ci_status_helper.rb
app/helpers/ci_status_helper.rb
+1
-1
No files found.
app/assets/stylesheets/pages/pipelines.scss
View file @
6f11ffe8
...
...
@@ -91,14 +91,6 @@
}
}
.ci-status
{
svg
{
top
:
1px
;
margin-right
:
0
;
}
}
a
:hover
{
text-decoration
:
none
;
}
...
...
app/assets/stylesheets/pages/status.scss
View file @
6f11ffe8
...
...
@@ -11,6 +11,15 @@
text-decoration
:
none
;
}
svg
{
height
:
13px
;
width
:
13px
;
position
:
relative
;
top
:
1px
;
margin-right
:
3px
;
overflow
:
visible
;
}
&
.ci-failed
{
color
:
$gl-danger
;
border-color
:
$gl-danger
;
...
...
@@ -104,15 +113,6 @@
fill
:
$table-text-gray
;
}
}
svg
{
height
:
13px
;
width
:
13px
;
position
:
relative
;
top
:
1px
;
margin
:
0
3px
;
overflow
:
visible
;
}
}
}
...
...
app/helpers/ci_status_helper.rb
View file @
6f11ffe8
...
...
@@ -5,7 +5,7 @@ module CiStatusHelper
end
def
ci_status_with_icon
(
status
,
target
=
nil
)
content
=
ci_icon_for_status
(
status
)
+
' '
.
html_safe
+
ci_label_for_status
(
status
)
content
=
ci_icon_for_status
(
status
)
+
ci_label_for_status
(
status
)
klass
=
"ci-status ci-
#{
status
}
"
if
target
link_to
content
,
target
,
class:
klass
...
...
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