From eff8913c6ad118fefe0298bbc7f952383814636a Mon Sep 17 00:00:00 2001 From: ihor-romaniuk Date: Fri, 27 Oct 2023 17:00:37 +0300 Subject: [PATCH] fix: content centering and z-index position on adaptation --- src/base-component/AuthSmallLayout.jsx | 2 +- src/base-component/MediumLayout.jsx | 2 +- src/base-component/SmallLayout.jsx | 3 +-- src/sass/_base_component.scss | 5 +++++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/base-component/AuthSmallLayout.jsx b/src/base-component/AuthSmallLayout.jsx index 35da5622b6..2b16753feb 100644 --- a/src/base-component/AuthSmallLayout.jsx +++ b/src/base-component/AuthSmallLayout.jsx @@ -16,7 +16,7 @@ const AuthSmallLayout = ({ username }) => { {getConfig().SITE_NAME} -
+

diff --git a/src/base-component/MediumLayout.jsx b/src/base-component/MediumLayout.jsx index d63d20c36b..7a12d9ac79 100644 --- a/src/base-component/MediumLayout.jsx +++ b/src/base-component/MediumLayout.jsx @@ -23,7 +23,7 @@ const MediumLayout = () => {

diff --git a/src/base-component/SmallLayout.jsx b/src/base-component/SmallLayout.jsx index 12e568a42e..5a6137b365 100644 --- a/src/base-component/SmallLayout.jsx +++ b/src/base-component/SmallLayout.jsx @@ -17,12 +17,11 @@ const SmallLayout = () => { {getConfig().SITE_NAME} -
+

{formatMessage(messages['start.learning'])} diff --git a/src/sass/_base_component.scss b/src/sass/_base_component.scss index fe4b20619b..33ed4395c4 100644 --- a/src/sass/_base_component.scss +++ b/src/sass/_base_component.scss @@ -38,6 +38,11 @@ max-width: 320px; } +.main-heading { + position: relative; + z-index: 2; +} + .complete-your-profile { font-weight: 700; line-height: 1;