Skip to content

Commit abeaed2

Browse files
committed
Reduce delay mobile menu
1 parent ea8418c commit abeaed2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Header.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const items = [
9898
*/
9999

100100
const currentLI = document.querySelector<HTMLElement>(
101-
".s-header__nav a[href*=" + sectionId + "]"
101+
".s-header__nav a[href*=" + sectionId + "]",
102102
)?.parentElement as HTMLElement;
103103

104104
//console.log(currentLI);
@@ -408,8 +408,8 @@ const items = [
408408
visibility: visible;
409409
-webkit-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
410410
transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
411-
-webkit-transition-delay: 0.5s;
412-
transition-delay: 0.5s;
411+
-webkit-transition-delay: 0.1s;
412+
transition-delay: 0.1s;
413413
}
414414
}
415415

0 commit comments

Comments
 (0)