From 8c17b93d49ba73e46c7898dd143a3f46b6e93c4a Mon Sep 17 00:00:00 2001 From: VitaliiDC8 <127111625+VitaliiDC8@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:49:35 +0100 Subject: [PATCH] fix: change position for media fit to absolute. There is a bug in safari (#731) --- src/blocks/Header/Header.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blocks/Header/Header.scss b/src/blocks/Header/Header.scss index df4ef8286..3fc2665e3 100644 --- a/src/blocks/Header/Header.scss +++ b/src/blocks/Header/Header.scss @@ -203,7 +203,7 @@ $backgroundWidth: 1440px; width: auto; max-height: 100%; max-width: 100%; - position: relative; + position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);