This commit is contained in:
parent
f2d805135b
commit
2197bed433
@ -2066,4 +2066,9 @@ a[title*="pawoo.net"]::after{
|
||||
.shared_container > div{
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.region_3-on{
|
||||
|
||||
left: -576px;
|
||||
width: calc( 100% + 288px + 288px );
|
||||
}
|
@ -137,8 +137,6 @@ function toggleAside() {
|
||||
function toggleBside() {
|
||||
if ($('main').hasClass('region_3-on')) {
|
||||
$('html, body').css('overflow-x', '');
|
||||
$('main').css('left', '');
|
||||
$('main').css('width', '');
|
||||
$('main').removeClass('region_3-on')
|
||||
$('#region_3').addClass('d-none')
|
||||
$('#overlay').remove();
|
||||
@ -146,8 +144,6 @@ function toggleBside() {
|
||||
}
|
||||
else {
|
||||
$('html, body').css('overflow-x', 'hidden');
|
||||
$('main').css('left', '-576px');
|
||||
$('main').css('width', 'calc( 100% + 288px + 288px )');
|
||||
$('main').addClass('region_3-on')
|
||||
$('#region_3').removeClass('d-none')
|
||||
$('<div id="overlay"></div>').appendTo('section');
|
||||
|
Reference in New Issue
Block a user