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
805b9a83
Commit
805b9a83
authored
Jun 30, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated breakpoint for sidebar pinning
parent
73196fbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/application.js.coffee
app/assets/javascripts/application.js.coffee
+1
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-1
No files found.
app/assets/javascripts/application.js.coffee
View file @
805b9a83
...
...
@@ -269,7 +269,7 @@ $ ->
new
Aside
()
# Sidenav pinning
if
$window
.
width
()
<
1
280
and
$
.
cookie
(
'pin_nav'
)
is
'true'
if
$window
.
width
()
<
1
024
and
$
.
cookie
(
'pin_nav'
)
is
'true'
$
.
cookie
(
'pin_nav'
,
'false'
,
{
path
:
'/'
,
expires
:
365
*
10
})
$
(
'.page-with-sidebar'
)
.
toggleClass
(
'page-sidebar-collapsed page-sidebar-expanded'
)
...
...
app/assets/stylesheets/framework/variables.scss
View file @
805b9a83
...
...
@@ -7,7 +7,7 @@ $gutter_collapsed_width: 62px;
$gutter_width
:
290px
;
$gutter_inner_width
:
258px
;
$sidebar-transition-duration
:
.15s
;
$sidebar-breakpoint
:
1
280
px
;
$sidebar-breakpoint
:
1
024
px
;
/*
* UI elements
...
...
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