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
Boxiang Sun
gitlab-ce
Commits
688db54f
Commit
688db54f
authored
Aug 10, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aligns OR separater to center properly
parent
2925850c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+5
-5
changelogs/unreleased/36185-or-separator.yml
changelogs/unreleased/36185-or-separator.yml
+4
-0
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
688db54f
...
@@ -566,14 +566,14 @@ a.deploy-project-label {
...
@@ -566,14 +566,14 @@ a.deploy-project-label {
&
:
:
before
{
&
:
:
before
{
content
:
"OR"
;
content
:
"OR"
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
-10px
;
top
:
4
0%
;
top
:
5
0%
;
z-index
:
10
;
z-index
:
10
;
padding
:
8px
0
;
padding
:
8px
0
;
text-align
:
center
;
text-align
:
center
;
background-color
:
$white-light
;
background-color
:
$white-light
;
color
:
$gl-text-color-tertiary
;
color
:
$gl-text-color-tertiary
;
transform
:
translate
X
(
-50%
);
transform
:
translate
Y
(
-50%
);
font-size
:
12px
;
font-size
:
12px
;
font-weight
:
bold
;
font-weight
:
bold
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -581,8 +581,8 @@ a.deploy-project-label {
...
@@ -581,8 +581,8 @@ a.deploy-project-label {
// Mobile
// Mobile
@media
(
max-width
:
$screen-xs-max
)
{
@media
(
max-width
:
$screen-xs-max
)
{
left
:
50%
;
left
:
50%
;
top
:
1
0px
;
top
:
0px
;
transform
:
translate
Y
(
-50%
);
transform
:
translate
X
(
-50%
);
padding
:
0
8px
;
padding
:
0
8px
;
}
}
}
}
...
...
changelogs/unreleased/36185-or-separator.yml
0 → 100644
View file @
688db54f
---
title
:
Align OR separator to center in new project page
merge_request
:
author
:
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