File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
__tests__/pages/curriculum/[lessonSlug]/__snapshots__
pages/curriculum/[lessonSlug] Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ exports[`[subLessonSlug] Page should match screenshot 1`] = `
1919 style = " padding-left: 0rem;"
2020 >
2121 <a
22- class = " MDX_a"
22+ class = " MDX_a text-decoration-none "
2323 href = " #heading1"
24- style = " text-decoration: none;"
2524 >
2625 heading1
2726 </a >
@@ -30,9 +29,8 @@ exports[`[subLessonSlug] Page should match screenshot 1`] = `
3029 style = " padding-left: 1rem;"
3130 >
3231 <a
33- class = " MDX_a"
32+ class = " MDX_a text-decoration-none "
3433 href = " #heading2"
35- style = " text-decoration: none;"
3634 >
3735 heading2
3836 </a >
@@ -41,9 +39,8 @@ exports[`[subLessonSlug] Page should match screenshot 1`] = `
4139 style = " padding-left: 2rem;"
4240 >
4341 <a
44- class = " MDX_a"
42+ class = " MDX_a text-decoration-none "
4543 href = " #heading3"
46- style = " text-decoration: none;"
4744 >
4845 heading3
4946 </a >
Original file line number Diff line number Diff line change @@ -54,11 +54,8 @@ const SubLessonPage: React.FC<Props> & WithLayout = ({
5454 style = { { paddingLeft : `${ heading . depth - 1 } rem` } }
5555 >
5656 < a
57- style = { {
58- textDecoration : 'none'
59- } }
6057 href = { `#${ headingBookmark } ` }
61- className = { mdxStyles . MDX_a }
58+ className = { ` ${ mdxStyles . MDX_a } text-decoration-none` }
6259 >
6360 { heading . text }
6461 </ a >
You can’t perform that action at this time.
0 commit comments