fix: dropdown service links not working from navbar
The smooth scroll handler was intercepting clicks on the "Servicios" dropdown toggle link (href="#servicios"), which on the landing page would find the #servicios section and call closeMenu(), immediately closing the menu before the user could click any service link. Fix: skip dropdown toggle links in smooth scroll handler, make dropdown toggle work via click on all devices (not just CSS :hover). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -407,7 +407,8 @@ p:last-child {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.navbar__item--dropdown:hover .navbar__link--dropdown i {
|
||||
.navbar__item--dropdown:hover .navbar__link--dropdown i,
|
||||
.navbar__item--dropdown.active .navbar__link--dropdown i {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user