fix(BOOK-772): Added correct typography around some RTE elements
Approved-by: Bianca Widstam Approved-by: Matilda Landström
This commit is contained in:
@@ -714,7 +714,7 @@ export const renderOptions: RenderOptions = {
|
|||||||
|
|
||||||
[RTEMarkType.underline]: (children: React.ReactNode) => {
|
[RTEMarkType.underline]: (children: React.ReactNode) => {
|
||||||
return (
|
return (
|
||||||
<Typography variant="Link/md">
|
<Typography variant="Body/Underline/md">
|
||||||
<u>{children}</u>
|
<u>{children}</u>
|
||||||
</Typography>
|
</Typography>
|
||||||
)
|
)
|
||||||
@@ -823,11 +823,9 @@ export const renderOptions: RenderOptions = {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Typography key={id} variant="Body/Paragraph/mdRegular">
|
|
||||||
<span className={propsClassName} {...props}>
|
<span className={propsClassName} {...props}>
|
||||||
{children}
|
{children}
|
||||||
</span>
|
</span>
|
||||||
</Typography>
|
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user