summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/header.scss
diff options
context:
space:
mode:
authorjoola <ljonas@riseup.net>2019-02-12 17:42:08 +0000
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-02-12 17:42:08 +0000
commit8617954dadffd38116662937e3fb9beb55851668 (patch)
tree9304b6a885333b06e81e08ad85afed61d4a5fbfb /app/assets/stylesheets/framework/header.scss
parent553c9f3c2f77912bbc9d676747094e609aa96595 (diff)
downloadgitlab-ce-8617954dadffd38116662937e3fb9beb55851668.tar.gz
Replace useless divs with flex layout in navbar
Notable changes proposed by @pslaughter
Diffstat (limited to 'app/assets/stylesheets/framework/header.scss')
-rw-r--r--app/assets/stylesheets/framework/header.scss9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss
index 36dd1cee4de..23dcc1817b1 100644
--- a/app/assets/stylesheets/framework/header.scss
+++ b/app/assets/stylesheets/framework/header.scss
@@ -565,15 +565,14 @@
}
.navbar-empty {
+ justify-content: center;
height: $header-height;
background: $white-light;
border-bottom: 1px solid $white-normal;
- .mx-auto {
- .tanuki-logo,
- img {
- height: 36px;
- }
+ .tanuki-logo,
+ .brand-header-logo {
+ max-height: 100%;
}
}