Skip to content
Snippets Groups Projects
Commit f8eca450 authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Fix CSS issues wtih DP banner #137

- Inline styles weren't being set in Safari
- Make sure old cookie banner never shows
parent f7242cf5
No related branches found
Tags v1.3.4
No related merge requests found
......@@ -12,7 +12,7 @@ function ebiFrameworkCreateDataProtectionBanner() {
banner.id = "data-protection-banner";
banner.className = "data-protection-banner";
banner.style = "position: fixed; background-color: #111; width: 100%; padding: .75rem 1%; left: 0; bottom: 0; color: #eee; z-index: 10;"
banner.style.cssText = "position: fixed; background: #111; width: 100%; padding: .75rem 1%; left: 0; bottom: 0; color: #eee; z-index: 10;";
wrapper.className = "row";
wrapper.innerHTML = "" +
"<div class='columns medium-8 large-9 white-color'>" +
......@@ -83,6 +83,9 @@ function ebiFrameworkRunDataProtectionBanner(targetedFrameworkVersion) {
var compatibilityStyles = document.createElement('style');
compatibilityStyles.innerHTML = `
#cookie-banner {
display: none;
}
.data-protection-banner {
box-sizing: border-box;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment