File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -301,8 +301,8 @@ export const Section = ({
301
301
const id = header . toLowerCase ( ) ;
302
302
// NOTE: SAFARI BUG: without top-0 and left-0, the rect will be shifted down.
303
303
return (
304
- < HashLink smooth to = { ` ${ location . pathname } # ${ id } ` } >
305
- < div id = { id } className = "mt-4 md:mt-8" >
304
+ < div id = { id } className = "mt-4 md:mt-8" >
305
+ < HashLink smooth to = { ` ${ location . pathname } # ${ id } ` } >
306
306
< span className = "group font-bold text-3xl tracking-tight curosr-pointer relative " >
307
307
< svg
308
308
height = { 30 }
@@ -327,9 +327,9 @@ export const Section = ({
327
327
{ header }
328
328
</ span >
329
329
</ span >
330
- { children }
331
- </ div >
332
- </ HashLink >
330
+ </ HashLink >
331
+ { children }
332
+ </ div >
333
333
) ;
334
334
} ;
335
335
export const Footer = ( ) => (
You can’t perform that action at this time.
0 commit comments