File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -312,12 +312,14 @@ export default {
312312 display : flex ;
313313 max-width : 1000px ;
314314 margin : 0 auto ;
315+ width : 100vw ;
315316 font-size : 1em ;
316317 line-height : 1.62 ;
317318 color : #3b454e ;
318319
319320 @include mq (' md' ) {
320321 font-size : 1.125em ;
322+ width : calc (100vw - 180px );
321323 }
322324
323325 & -inner {
Original file line number Diff line number Diff line change 11<template >
22 <nav >
33 <ul >
4- <li ><a href =" #section__about" @click =" scrollToExample('#section__about')" >About</a ></li >
5- <li ><a href =" #section__install" @click =" scrollToExample('#section__install')" >Install</a ></li >
4+ <li ><a href =" #section__about" @click.prevent =" scrollToExample('#section__about')" >About</a ></li >
5+ <li ><a href =" #section__install" @click.prevent =" scrollToExample('#section__install')" >Install</a ></li >
66 <li
77 v-for =" [key] in Object.entries(examples)"
88 :key =" key"
99 >
10- <a :href =" `#section__${key}`" @click =" scrollToExample(`#section__${key}`)" ># {{ key }}</a >
10+ <a :href =" `#section__${key}`" @click.prevent =" scrollToExample(`#section__${key}`)" ># {{ key }}</a >
1111 </li >
12-
1312 </ul >
1413 </nav >
1514</template >
@@ -23,9 +22,8 @@ export default {
2322 },
2423 methods: {
2524 scrollToExample (element ) {
26- VueScrollTo .scrollTo (element, 300 , {
25+ VueScrollTo .scrollTo (element, 500 , {
2726 offset: - 100 ,
28- force: true ,
2927 });
3028 },
3129 },
You can’t perform that action at this time.
0 commit comments