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
Jérome Perrin
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+4
-1
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+5
-0
app/views/layouts/header/_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 {
}
.btn-sign-in
{
margin-top
:
10px
;
text-shadow
:
none
;
@media
(
min-width
:
$screen-sm-min
)
{
margin-top
:
11px
;
}
}
.side-filters
{
...
...
app/assets/stylesheets/framework/header.scss
View file @
b4f97b93
...
...
@@ -70,6 +70,11 @@ header {
.header-content
{
height
:
$header-height
;
padding-right
:
20px
;
@media
(
min-width
:
$screen-sm-min
)
{
padding-right
:
0
;
}
.title
{
margin
:
0
;
...
...
app/views/layouts/header/_default.html.haml
View file @
b4f97b93
...
...
@@ -6,7 +6,7 @@
=
icon
(
'bars'
)
.navbar-collapse.collapse
%ul
.nav.navbar-nav
.pull-right
%ul
.nav.navbar-nav
%li
.hidden-sm.hidden-xs
=
render
'layouts/search'
%li
.visible-sm.visible-xs
...
...
@@ -38,7 +38,8 @@
=
link_to
destroy_user_session_path
,
class:
'logout'
,
method: :delete
,
title:
'Sign out'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
icon
(
'sign-out'
)
-
else
.pull-right
%li
%div
=
link_to
"Sign in"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in btn-success'
...
...
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