From 566334daf5ecc6f3c7be675af9b2889900c527f2 Mon Sep 17 00:00:00 2001 From: Yufan Sheng Date: Wed, 16 Oct 2024 03:57:23 +0800 Subject: [PATCH] chore: fix the position of close button for the popups. --- src/assets/styles/globals.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/assets/styles/globals.css b/src/assets/styles/globals.css index 64299a0..67b4952 100644 --- a/src/assets/styles/globals.css +++ b/src/assets/styles/globals.css @@ -2310,13 +2310,14 @@ a:hover .overlay { .nice-tips-close, .nice-popup-close { - position: absolute; + position: fixed; + display: flex; + align-items: center; + justify-content: center; bottom: 0; left: 0; width: 100%; z-index: 99; - cursor: pointer; - text-align: center; transform: translateY(25%); }