Warn about using Latex with DefinitionTooltip (#2353)
We recently fixed DefinitionTooltip being broken due to a styling change we had made to fix the scroll behavior of inline Latex. However, we could not easily fix an edge case where you have both a DefinitionTooltip and the Latex in the _same_ paragraph. So, for now, we document the edge case. --------- Co-authored-by: abbycross <across@us.ibm.com>
This commit is contained in:
parent
4e7fccfae5
commit
3eadfe10b7
|
@ -627,6 +627,8 @@ To use a `DefinitionTooltip`, use the following syntax:
|
|||
|
||||
For full list of props, please check [here](https://react.carbondesignsystem.com/?path=/docs/components-definitiontooltip--playground#component-api).
|
||||
|
||||
Warning: do not use LaTeX/math expressions in the same paragraph as a definition tooltip because it will break the styling. Use a new line to separate out the two into separate paragraphs.
|
||||
|
||||
### Tabs
|
||||
|
||||
To use a `Tabs` component, use the following syntax:
|
||||
|
|
Loading…
Reference in New Issue