fix(2689): use correct default sans-serif fonts for actors and tasks

The previous default font, Open-Sans, does not exist (it is Open Sans).
A generic font family must not be in quotes.
There is no changes to tests, as tests set font-family to Courier
for reproducability.

Fixes 2689
See https://fonts.google.com/specimen/Open+Sans
and https://developer.mozilla.org/en-US/docs/Web/CSS/font-family
This commit is contained in:
Daniel Bartholomae
2022-02-15 14:21:04 +01:00
parent d818551f50
commit 74b1219d62
4 changed files with 24 additions and 71 deletions

View File

@@ -697,7 +697,7 @@ export default mermaidAPI;
* leftPadding: 75,
* gridLineStartPadding: 35,
* fontSize: 11,
* fontFamily: '"Open-Sans", "sans-serif"',
* fontFamily: '"Open Sans", sans-serif',
* numberSectionStyles: 4,
* axisFormat: '%Y-%m-%d',
* topAxis: false,