mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 09:49:46 +02:00
Fix undesired wrapping on notes
This commit is contained in:
@@ -620,6 +620,7 @@ export const getData = () => {
|
|||||||
padding: config.class!.padding ?? 6,
|
padding: config.class!.padding ?? 6,
|
||||||
cssStyles: [
|
cssStyles: [
|
||||||
'text-align: left',
|
'text-align: left',
|
||||||
|
'white-space: nowrap',
|
||||||
`fill: ${config.themeVariables.noteBkgColor}`,
|
`fill: ${config.themeVariables.noteBkgColor}`,
|
||||||
`stroke: ${config.themeVariables.noteBorderColor}`,
|
`stroke: ${config.themeVariables.noteBorderColor}`,
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user