From cdd0104eb64a633e2b98968012a39a833679f857 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 5 Dec 2024 14:53:32 -0800 Subject: [PATCH] Quick fix --- backend/templates/_base.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/backend/templates/_base.html b/backend/templates/_base.html index 7a95150..f552e1c 100644 --- a/backend/templates/_base.html +++ b/backend/templates/_base.html @@ -359,6 +359,16 @@

Cookie Consent

const banner = document.getElementById("cookie-consent-banner"); const acceptButton = document.getElementById("allow-cookies"); const denyButton = document.getElementById("deny-cookies"); + + document.getElementById('cookie-consent-banner').style = ` + display: block; + position: fixed; + bottom: 4rem; + right: 2rem; + background-color: #1f2937; + color: white; + z-index: 50; + `; if (!localStorage.getItem(COOKIE_CONSENT_KEY)) { banner.style.display = "block";