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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f39f94d4
Commit
f39f94d4
authored
Feb 12, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
d71493b6
7a8f8714
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
9 deletions
+11
-9
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+4
-5
app/helpers/appearances_helper.rb
app/helpers/appearances_helper.rb
+1
-1
app/views/layouts/header/_empty.html.haml
app/views/layouts/header/_empty.html.haml
+1
-3
changelogs/unreleased/fix_-56347.yml
changelogs/unreleased/fix_-56347.yml
+5
-0
No files found.
app/assets/stylesheets/framework/header.scss
View file @
f39f94d4
...
...
@@ -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%
;
}
}
...
...
app/helpers/appearances_helper.rb
View file @
f39f94d4
...
...
@@ -28,7 +28,7 @@ module AppearancesHelper
def
brand_header_logo
if
current_appearance
&
.
header_logo?
image_tag
current_appearance
.
header_logo_path
image_tag
current_appearance
.
header_logo_path
,
class:
'brand-header-logo'
else
render
'shared/logo.svg'
end
...
...
app/views/layouts/header/_empty.html.haml
View file @
f39f94d4
%header
.navbar.fixed-top.navbar-empty
.container
.mx-auto
=
brand_header_logo
=
brand_header_logo
changelogs/unreleased/fix_-56347.yml
0 → 100644
View file @
f39f94d4
---
title
:
Fix overlapping empty-header logo
merge_request
:
24868
author
:
Jonas L.
type
:
fixed
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