From 341dfced7167f16840829ef1c4560acbf5fd2e69 Mon Sep 17 00:00:00 2001
From: Dilson's Pickles
Date: Wed, 4 Oct 2023 12:50:58 +1100
Subject: [PATCH] Update cookie consent popup
---
src/components/banner/CookieConsent.jsx | 2 +-
src/layouts/BaseLayout.astro | 4 ++--
src/styles/input.css | 9 ++++++---
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/components/banner/CookieConsent.jsx b/src/components/banner/CookieConsent.jsx
index e41757c..d9a21c4 100644
--- a/src/components/banner/CookieConsent.jsx
+++ b/src/components/banner/CookieConsent.jsx
@@ -21,7 +21,7 @@ function CookieConsent() {
Read cookie policy
-
+
{title}
-
+
@@ -44,7 +44,7 @@ const { title } = Astro.props;
-
+
diff --git a/src/styles/input.css b/src/styles/input.css
index a65449c..327f7f0 100644
--- a/src/styles/input.css
+++ b/src/styles/input.css
@@ -105,12 +105,15 @@
padding: 2rem;
background-color: #fff;
opacity: 1;
- transition: opacity .35s ease;
+ transition: bottom .5s ease;
&.hide{
- opacity: 0;
- display:none;
+ bottom:-412px;
}
+
+
}
+
+
}
\ No newline at end of file