BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
b4f97b93
Commit
b4f97b93
authored
Mar 22, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes issue with signin button overflowing on mobile
Closes #14477
parent
fc6ee359
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
common.scss
app/assets/stylesheets/framework/common.scss
+4
-1
header.scss
app/assets/stylesheets/framework/header.scss
+5
-0
_default.html.haml
app/views/layouts/header/_default.html.haml
+4
-3
No files found.
app/assets/stylesheets/framework/common.scss
View file @
b4f97b93
...
@@ -292,8 +292,11 @@ table {
...
@@ -292,8 +292,11 @@ table {
}
}
.btn-sign-in
{
.btn-sign-in
{
margin-top
:
10px
;
text-shadow
:
none
;
text-shadow
:
none
;
@media
(
min-width
:
$screen-sm-min
)
{
margin-top
:
11px
;
}
}
}
.side-filters
{
.side-filters
{
...
...
app/assets/stylesheets/framework/header.scss
View file @
b4f97b93
...
@@ -70,6 +70,11 @@ header {
...
@@ -70,6 +70,11 @@ header {
.header-content
{
.header-content
{
height
:
$header-height
;
height
:
$header-height
;
padding-right
:
20px
;
@media
(
min-width
:
$screen-sm-min
)
{
padding-right
:
0
;
}
.title
{
.title
{
margin
:
0
;
margin
:
0
;
...
...
app/views/layouts/header/_default.html.haml
View file @
b4f97b93
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
=
icon
(
'bars'
)
=
icon
(
'bars'
)
.navbar-collapse.collapse
.navbar-collapse.collapse
%ul
.nav.navbar-nav
.pull-right
%ul
.nav.navbar-nav
%li
.hidden-sm.hidden-xs
%li
.hidden-sm.hidden-xs
=
render
'layouts/search'
=
render
'layouts/search'
%li
.visible-sm.visible-xs
%li
.visible-sm.visible-xs
...
@@ -38,8 +38,9 @@
...
@@ -38,8 +38,9 @@
=
link_to
destroy_user_session_path
,
class:
'logout'
,
method: :delete
,
title:
'Sign out'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
link_to
destroy_user_session_path
,
class:
'logout'
,
method: :delete
,
title:
'Sign out'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
icon
(
'sign-out'
)
=
icon
(
'sign-out'
)
-
else
-
else
.pull-right
%li
=
link_to
"Sign in"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in btn-success'
%div
=
link_to
"Sign in"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in btn-success'
%h1
.title
=
title
%h1
.title
=
title
...
...
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