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

--width / --max-width in SVG export don't affect the width of the picture #63

Open
hynek opened this issue Aug 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@hynek
Copy link

hynek commented Aug 3, 2022

I'm using rich-cli in my latest semi-stealth project at https://github.com/hynek/hatch-fancy-pypi-readme and I've noticed that I can set the width of the output, but the SVG export will always be the width of the terminal. That means the right side of the SVG is blank.

In other words: I have to resize the terminal to get the output I want (see README). I'm a I missing something, or is this on purpose, or is this a bug?

@willmcgugan willmcgugan added the enhancement New feature or request label Aug 4, 2022
@willmcgugan
Copy link
Collaborator

The SVG export replicates what you see in the terminal. So it is kind of by design. But on reflection, I think it would make more sense for it to override the size of the terminal rather than the size of the content.

Fancy readme looks interesting!

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

No branches or pull requests

2 participants