Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text in Goat diagrams is too big #645

Open
jhenstridge opened this issue Jul 9, 2023 · 0 comments
Open

Text in Goat diagrams is too big #645

jhenstridge opened this issue Jul 9, 2023 · 0 comments

Comments

@jhenstridge
Copy link
Contributor

I tried using Hugo's Goat diagram feature, and found that the text is too big when using the Ananke theme.

For example, the following diagram:

```goat
.-------------.
| hello world |
'-------------'
```

... is rendered as:

image

The diagram is converted to embedded SVG, with the text rendered in a fixed width font intended to fit the grid. The problem seems to be from the f4 class applied to the parent div containing the page content, setting the font-size:1.25rem. If I disable that style, the diagram renders a bit better:

image

I'm not sure what the best way to fix this would be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant