From ebe6f7e90b9782c69bc83d13aeca1479ac9b74e7 Mon Sep 17 00:00:00 2001 From: Siddharth Thevaril Date: Fri, 27 Sep 2024 20:12:27 +0530 Subject: [PATCH] fix header --- .../components/onboarding-header/index.scss | 1 + src/new-user-experience/styles/onboarding.scss | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/new-user-experience/components/onboarding-header/index.scss b/src/new-user-experience/components/onboarding-header/index.scss index b9137d8e..f5ec8763 100644 --- a/src/new-user-experience/components/onboarding-header/index.scss +++ b/src/new-user-experience/components/onboarding-header/index.scss @@ -62,6 +62,7 @@ @include is-below-mobile() { top: 46px; height: 46px; + position: absolute; } @include is-mobile { diff --git a/src/new-user-experience/styles/onboarding.scss b/src/new-user-experience/styles/onboarding.scss index 88062086..5b727906 100644 --- a/src/new-user-experience/styles/onboarding.scss +++ b/src/new-user-experience/styles/onboarding.scss @@ -458,7 +458,7 @@ body.woocommerce_page_woocommerce-square-onboarding #wpbody-content { padding: 60px 85px; } - @media screen and (min-height: 992px) and (min-width: 1280px) { + @media screen and (min-height: 720px) and (min-width: 1280px) { top: 5vh; } } @@ -466,16 +466,12 @@ body.woocommerce_page_woocommerce-square-onboarding #wpbody-content { .woo-square-onboarding__payment-complete__intro { @media screen and (min-width: 1280px) { position: sticky; - top: 240px; + top: 30vh; max-width: 400px; margin-right: 100px; float: right; } - @media screen and (min-width: 1280px) and (min-height: 992px) { - top: 25vh; - } - @media screen and (min-width: 1920px) { position: sticky; top: 460px;