From 314f22fe00533d9090d86ba99530043a3a233ef7 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Fri, 9 Oct 2020 10:37:38 +0200 Subject: [PATCH] Remove the margin on the accept/reject all buttons Not sure why this is here but it break a lot of installations --- tarteaucitron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tarteaucitron.js b/tarteaucitron.js index a1365a2..e647d2b 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -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