File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,7 @@ const Title = ({
45
45
< h1 className = { `${ defaultClassName } __title` } >
46
46
{ title }
47
47
{ subtitle && (
48
- < small className = { `${ defaultClassName } __subtitle` } >
49
- { subtitle }
50
- </ small >
48
+ < span className = { `${ defaultClassName } __subtitle` } > { subtitle } </ span >
51
49
) }
52
50
</ h1 >
53
51
{ children }
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ exports[`<Title> renders Title correctly 1`] = `
30
30
class = " af-title-bar__title"
31
31
>
32
32
Toolkit Axa
33
- <small
33
+ <span
34
34
class = " af-title-bar__subtitle"
35
35
>
36
36
Info complémentaire
37
- </small >
37
+ </span >
38
38
</h1 >
39
39
</div >
40
40
</div >
@@ -53,11 +53,11 @@ exports[`<Title> renders Title correctly without menu 1`] = `
53
53
class = " af-title-bar__title"
54
54
>
55
55
Toolkit Axa
56
- <small
56
+ <span
57
57
class = " af-title-bar__subtitle"
58
58
>
59
59
Info complémentaire
60
- </small >
60
+ </span >
61
61
</h1 >
62
62
</div >
63
63
</div >
You can’t perform that action at this time.
0 commit comments