summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework
diff options
context:
space:
mode:
authorAshley Dumaine <adumaine@datto.com>2016-09-29 12:39:59 -0400
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-09-30 14:56:17 -0500
commitedcc3285ee785986ef3799576eb67259af555a40 (patch)
tree896a919232c365e06995b2f3b2988ea004d89ca6 /app/assets/stylesheets/framework
parentf4d4113240e6851fd8eede1170a60c06b22578e1 (diff)
downloadgitlab-ce-edcc3285ee785986ef3799576eb67259af555a40.tar.gz
Center the header logo
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/assets/stylesheets/framework')
-rw-r--r--app/assets/stylesheets/framework/header.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss
index d4a030f7f7a..7470457b1e7 100644
--- a/app/assets/stylesheets/framework/header.scss
+++ b/app/assets/stylesheets/framework/header.scss
@@ -112,11 +112,15 @@ header {
.header-logo {
position: absolute;
left: 50%;
- margin-left: -18px;
top: 7px;
transition-duration: .3s;
z-index: 999;
+ #logo {
+ position: relative;
+ left: -50%;
+ }
+
svg, img {
height: 36px;
}