quarto-dev / quarto

Quarto open-source scientific and technical publishing system
https://quarto.org
GNU Affero General Public License v3.0
280 stars 19 forks source link

Zoom "Auto" is not working as expected #389

Open cbrnr opened 4 months ago

cbrnr commented 4 months ago

I really enjoy using the Preview functionality of the Quarto VS Code extension. However, I think the zoom "Auto" setting is currently not working as intended (I'm pretty sure that it used to work previously).

Setting the zoom to "Auto" should always render the entire page (i.e. full width), and if it doesn't fit into the preview pane, the entire document should be scaled down. However, when I change the size of the panel, line breaks change depending on the width of the pane:

https://github.com/quarto-dev/quarto/assets/4377312/0156adc1-904d-436a-b292-0897d3e145c1

This happens in multiple locations, but it is best visible in the first paragraph and in the third bullet point.

I'm using VS Code 1.87.0 and Quarto Extension 1.110.1.

NMarkgraf commented 1 month ago

Thats HTML and exactly how it should be!

cbrnr commented 1 month ago

Then what is "Auto" supposed to do? I thought that it would scale the output so that the full page width (which is set in the template) can be rendered.