Remove the margin on the accept/reject all buttons

Not sure why this is here but it break a lot of installations
This commit is contained in:
Amauri CHAMPEAUX 2020-10-09 10:37:38 +02:00
parent fe96f7f2b1
commit 314f22fe00
1 changed files with 2 additions and 2 deletions

View File

@ -1206,14 +1206,14 @@ var tarteaucitron = {
// media query
if (e[a + 'Width'] <= 479) {
tarteaucitron.userInterface.css('tarteaucitronScrollbarAdjust', 'marginLeft', '11px');
//tarteaucitron.userInterface.css('tarteaucitronScrollbarAdjust', 'marginLeft', '11px');
} else if (e[a + 'Width'] <= 767) {
scrollbarMarginRight = 12;
}
scrollbarWidthParent = document.getElementById('tarteaucitronServices').offsetWidth;
scrollbarWidthChild = document.getElementById('tarteaucitronScrollbarChild').offsetWidth;
tarteaucitron.userInterface.css('tarteaucitronScrollbarAdjust', 'marginRight', ((scrollbarWidthParent - scrollbarWidthChild) + scrollbarMarginRight) + 'px');
//tarteaucitron.userInterface.css('tarteaucitronScrollbarAdjust', 'marginRight', ((scrollbarWidthParent - scrollbarWidthChild) + scrollbarMarginRight) + 'px');
}
// center the main panel