diff --git a/media/css/privacy/cookie-settings-form.scss b/media/css/privacy/cookie-settings-form.scss index 3d732590814..acaa4684a54 100644 --- a/media/css/privacy/cookie-settings-form.scss +++ b/media/css/privacy/cookie-settings-form.scss @@ -8,6 +8,7 @@ $image-path: '/media/protocol/img'; @import '~@mozilla-protocol/core/protocol/css/includes/lib'; @import '~@mozilla-protocol/core/protocol/css/components/breadcrumb'; +// Temporary fix until https://github.com/mozilla/protocol/issues/933 is resolved .mzp-c-breadcrumb { padding-top: $spacing-md; padding-bottom: $spacing-md; diff --git a/media/js/base/consent/init.es6.js b/media/js/base/consent/init.es6.js index 78ab90dfe74..58173b25c0c 100644 --- a/media/js/base/consent/init.es6.js +++ b/media/js/base/consent/init.es6.js @@ -81,6 +81,7 @@ function openBanner() { // Show banner document.getElementById('moz-consent-banner').classList.add('is-visible'); + // Add padding to the footer setTimeout(updateBodyPadding, 0); window.addEventListener('resize', onResize, false); } @@ -103,6 +104,7 @@ function closeBanner() { .getElementById('moz-consent-banner') .classList.remove('is-visible'); + // Remove padding from the footer document.body.style.paddingBottom = '0'; window.removeEventListener('resize', onResize, false); }