From 8a486e58062cb06b91c8f6b85804ebd635dfca13 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 23 Jan 2024 17:27:23 +0100 Subject: [PATCH] handling menu left padding and responsive left padding --- resources/css/layout/menu-homegrade.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/resources/css/layout/menu-homegrade.css b/resources/css/layout/menu-homegrade.css index 3854cf0..7a7734a 100644 --- a/resources/css/layout/menu-homegrade.css +++ b/resources/css/layout/menu-homegrade.css @@ -9,7 +9,8 @@ h-fit py-2 px-4 - md:px-0 + pl-10 + md:pl-24 xl:px-8 2xl:px-32 my-0; @@ -72,7 +73,7 @@ @apply font-medium text-center rounded-xl; - @apply w-fit mx-auto lg:mx-0; + @apply w-fit lg:mx-0; button, a { @@ -97,12 +98,7 @@ /* IF SUBMENU CHILD */ .menu-item__submenu-toggle { - &:hover, - &:focus { - /* @apply text-secondary; */ - } - /* @apply relative pr-4; */ - @apply pr-4 mx-auto; + @apply pr-4; &:after { content: ''; display: inline-block;