From ec1f269f5ccd5301713c64415070ece7d5b85750 Mon Sep 17 00:00:00 2001 From: Coder And Creator <70572678+c4coderandcreator@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:09:00 +0530 Subject: [PATCH] fix order history for iPad mini --- css/landing.css | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/css/landing.css b/css/landing.css index 809ce4c..e39fd44 100644 --- a/css/landing.css +++ b/css/landing.css @@ -161,7 +161,23 @@ img { padding-bottom: 1rem; flex-wrap: nowrap; } - +@media screen and (max-width: 868px){ + .nav__menu { + position: fixed; + top: -100%; + left: 0; + right: 0; + width: 90%; + margin: -0.5rem auto; + padding: 2.5rem 0 0; + text-align: center; + background-color: var(--body-color); + transition: .4s; + box-shadow: 0 0 4px rgba(0, 0, 0, .1); + border-radius: 2rem; + z-index: var(--z-fixed); + } +} @media screen and (max-width: 768px) { .nav__menu { position: fixed; @@ -331,7 +347,7 @@ img { /*========== BUTTONS ==========*/ .landing-button { - padding: 1em 2.5em; + padding: 1em 2em; border: none; border-radius: 30px; font-weight: 700;