File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
src/features/shared/components/mdx Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,14 @@ export const HeadingFactory = (): HeadingFactory => {
2323 const AnchorSpan = AnchorProps . children ;
2424 const Anchor = jsx ( 'a' , {
2525 ...AnchorProps ,
26- className : classNames (
27- AnchorSpan . props . className ,
28- 'opacity-0 group-hover:opacity-100 ease-in-out transition-opacity duration-300' ,
29- 'before:absolute before:w-[40px] before:left-[-25px] before:content-["⧉"] before:text-[#61768f] before:mr-2' ,
30- ) ,
26+ children : jsx ( 'span' , {
27+ ...AnchorSpan . props ,
28+ className : classNames (
29+ AnchorSpan . props . className ,
30+ 'opacity-0 group-hover:opacity-100 ease-in-out transition-opacity duration-300' ,
31+ 'before:absolute before:w-[40px] before:left-[-25px] before:content-["⧉"] before:text-[#61768f] before:mr-2' ,
32+ ) ,
33+ } ) ,
3134 } ) ;
3235
3336 const children = Children . toArray ( props . children ) ;
You can’t perform that action at this time.
0 commit comments