From 9008e35acb4922ab8b184c40205f0d22778aebd1 Mon Sep 17 00:00:00 2001 From: Sayam Samal Date: Tue, 29 Apr 2025 03:32:25 +0530 Subject: [PATCH] alerts: Wrap the alert-box to prevent safari container regression. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit wraps the alert-box into a wrapper, and moves the position related CSS to the wrapper, to avoid safari container regression — which results when position: fixed is applied on the element which is also the container. --- templates/zerver/app/index.html | 4 ++-- web/styles/alerts.css | 32 +++++++++++++------------------- 2 files changed, 15 insertions(+), 21 deletions(-) diff --git a/templates/zerver/app/index.html b/templates/zerver/app/index.html index 6e165d3d47..25cceb3d03 100644 --- a/templates/zerver/app/index.html +++ b/templates/zerver/app/index.html @@ -167,8 +167,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1943053 --> -
-