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
Tatuya Kamada
gitlab-ce
Commits
214f38c4
Commit
214f38c4
authored
Jun 05, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-empty-navbar' into 'master'
Fix empty header margin See merge request !769
parents
1f78aeba
8d2996fe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/assets/stylesheets/generic/header.scss
app/assets/stylesheets/generic/header.scss
+5
-0
app/views/layouts/header/_empty.html.haml
app/views/layouts/header/_empty.html.haml
+1
-1
No files found.
app/assets/stylesheets/generic/header.scss
View file @
214f38c4
...
@@ -8,6 +8,11 @@ header {
...
@@ -8,6 +8,11 @@ header {
&
.navbar-empty
{
&
.navbar-empty
{
background
:
#FFF
;
background
:
#FFF
;
border-bottom
:
1px
solid
#EEE
;
border-bottom
:
1px
solid
#EEE
;
.center-logo
{
margin
:
8px
0
;
text-align
:
center
;
}
}
}
&
.navbar-gitlab
{
&
.navbar-gitlab
{
...
...
app/views/layouts/header/_empty.html.haml
View file @
214f38c4
%header
.navbar.navbar-fixed-top.navbar-empty
%header
.navbar.navbar-fixed-top.navbar-empty
.container
.container
%h4
.center
.center-logo
=
image_tag
'logo-white.png'
,
width:
32
,
height:
32
=
image_tag
'logo-white.png'
,
width:
32
,
height:
32
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