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
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 {
&
:
:
before
{
content
:
"OR"
;
position
:
absolute
;
left
:
0
;
top
:
4
0%
;
left
:
-10px
;
top
:
5
0%
;
z-index
:
10
;
padding
:
8px
0
;
text-align
:
center
;
background-color
:
$white-light
;
color
:
$gl-text-color-tertiary
;
transform
:
translate
X
(
-50%
);
transform
:
translate
Y
(
-50%
);
font-size
:
12px
;
font-weight
:
bold
;
line-height
:
20px
;
...
...
@@ -581,8 +581,8 @@ a.deploy-project-label {
// Mobile
@media
(
max-width
:
$screen-xs-max
)
{
left
:
50%
;
top
:
1
0px
;
transform
:
translate
Y
(
-50%
);
top
:
0px
;
transform
:
translate
X
(
-50%
);
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