From fa81c2d9b5ea6adf3af91a5637e3aa702d24531f Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Tue, 6 Feb 2024 10:10:01 +0100 Subject: [PATCH] hack: center the cookie consent closing button Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- assets/css/hack.css | 4 ++++ assets/css/styles.css | 1 + 2 files changed, 5 insertions(+) create mode 100644 assets/css/hack.css diff --git a/assets/css/hack.css b/assets/css/hack.css new file mode 100644 index 0000000000..21d1cf744d --- /dev/null +++ b/assets/css/hack.css @@ -0,0 +1,4 @@ +/* center the closing button for the cookie consent modal */ +.ot-floating-button__close { + @apply flex justify-center items-center; +} diff --git a/assets/css/styles.css b/assets/css/styles.css index 28c30294e8..dacea4f522 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -4,6 +4,7 @@ @import "/assets/css/global"; @import "/assets/css/typography"; @import "/assets/css/search"; +@import "/assets/css/hack"; @import "tailwindcss/components"; @import "/assets/css/code";