mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-17 08:36:06 +10:00
Decreased window min width for pinned sidebar
This commit is contained in:
committed by
Phil Hughes
parent
365015e3c9
commit
2e1a70fefc
@@ -261,7 +261,7 @@ $ ->
|
||||
new Aside()
|
||||
|
||||
# Sidenav pinning
|
||||
if $window.width() < 1440 and $.cookie('pin_nav') is 'true'
|
||||
if $window.width() < 1280 and $.cookie('pin_nav') is 'true'
|
||||
$.cookie('pin_nav', 'false', { path: '/' })
|
||||
$('.page-with-sidebar')
|
||||
.toggleClass('page-sidebar-collapsed page-sidebar-expanded')
|
||||
|
||||
@@ -7,7 +7,7 @@ $gutter_collapsed_width: 62px;
|
||||
$gutter_width: 290px;
|
||||
$gutter_inner_width: 258px;
|
||||
$sidebar-transition-duration: .15s;
|
||||
$sidebar-breakpoint: 1440px;
|
||||
$sidebar-breakpoint: 1280px;
|
||||
|
||||
/*
|
||||
* UI elements
|
||||
|
||||
Reference in New Issue
Block a user