File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const { variant, href } = Astro.props;
1212 align-items: center;
1313 gap: 0.5rem;
1414 border-radius: 1rem;
15- padding: 0.75rem 1.75rem ;
15+ padding: 0.75rem 1.25rem ;
1616 font-weight: 600;
1717 font-size: 0.875rem;
1818 line-height: 1.25rem;
@@ -63,6 +63,7 @@ const { variant, href } = Astro.props;
6363 .btn {
6464 font-size: 1rem;
6565 line-height: 1.5rem;
66+ padding: 0.75rem 1.75rem;
6667 }
6768 }
6869</style >
Original file line number Diff line number Diff line change 6161
6262 onResize(); // update the size once
6363 window.addEventListener("resize", onResize);
64- window.addEventListener("pointermove", onMouseMove);
65- window.addEventListener("scroll", onScroll);
64+ if (!("ontouchstart" in window || navigator.maxTouchPoints > 0)) {
65+ window.addEventListener("mousemove", onMouseMove);
66+ window.addEventListener("scroll", onScroll);
67+ }
6668 requestAnimationFrame(onDraw);
6769 })();
6870</script >
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ const latestVersion = data.tag_name || 'v1.0.0';
128128 <SectionTitle title =" Answers to common questions" caption =" FAQ" />
129129 <div class =" container" >
130130 <Accordion title =" How do I install Eclipse Menu?" icon ={ helpIcon } >
131- Please refer to the <a href =" #install" >installation guide</a >.
131+ Please refer to the <a href =" #how-to- install" >installation guide</a >.
132132 </Accordion >
133133 <Accordion title =" Is this free?" icon ={ helpIcon } >
134134 Yes, Eclipse Menu is completely free to use. <br />
You can’t perform that action at this time.
0 commit comments