mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 21:39:40 +02:00
Change ERD fontSize config to an integer to prevent NaN errors
This commit is contained in:
@@ -525,9 +525,9 @@ const config = {
|
||||
fill: 'honeydew',
|
||||
|
||||
/**
|
||||
* Font size
|
||||
* Font size (expressed as an integer representing a number of pixels)
|
||||
*/
|
||||
fontSize: '12px'
|
||||
fontSize: 12
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user