mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +08:00
fixes sidebar animation [fixes SCI-2451]
This commit is contained in:
parent
ce4883522a
commit
485993f2f6
1 changed files with 2 additions and 8 deletions
|
@ -5,10 +5,7 @@
|
|||
function show() {
|
||||
$('#sideBarLeft').show();
|
||||
$('#sideBarRight').hide();
|
||||
$('#sidebar-wrapper').show(
|
||||
'slide', { direction: 'right', easing: 'linear' }, 400
|
||||
);
|
||||
$('#wrapper').css('paddingLeft', '280px');
|
||||
$('#wrapper').removeClass('hidden2');
|
||||
$('.navbar-secondary').css(
|
||||
{ 'margin-left': '-280px', 'padding-left': '294px' }
|
||||
);
|
||||
|
@ -17,10 +14,7 @@
|
|||
function hide() {
|
||||
$('#sideBarLeft').hide();
|
||||
$('#sideBarRight').show();
|
||||
$('#sidebar-wrapper').hide(
|
||||
'slide', { direction: 'left', easing: 'linear'}, 400
|
||||
);
|
||||
$('#wrapper').css('paddingLeft', '0');
|
||||
$('#wrapper').addClass('hidden2');
|
||||
$('.navbar-secondary').css({
|
||||
'margin-left': '0',
|
||||
'padding-left': '14px'
|
||||
|
|
Loading…
Reference in a new issue