FEATURE Refactor header nav behaviours
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2026-05-11 17:09:30 +02:00
parent e29da0a151
commit 40b3c98141

View File

@ -358,7 +358,7 @@ body:has(.primary-menu-container .sub-menu-open) {
} }
} }
li#menu-item-1836 { li#menu-item-1836 {
@apply border border-white relative; @apply border border-white relative flex items-center lg:block pr-4;
width: 100%; width: 100%;
@screen lg { @screen lg {
@ -369,13 +369,17 @@ li#menu-item-1836 {
&:after { &:after {
transition: all 0.3s ease-out; transition: all 0.3s ease-out;
@apply absolute top-1/2 -translate-y-1/2 right-10 content-[''] block w-16 h-16 bg-contain bg-center bg-no-repeat; @apply lg:absolute top-1/2 lg:-translate-y-1/2 right-10 content-[''] block w-16 h-16 bg-contain bg-center bg-no-repeat;
background-image: url('../resources/img/bouton-fleche.svg'); background-image: url('../resources/img/bouton-fleche.svg');
} }
&:hover { &:hover {
&:after { &:after {
@apply right-8; @apply right-8;
@media screen and (max-width: 960px) {
@apply translate-x-1;
}
} }
} }
} }