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

[BUG] During the editing process, the side preview pane doesn't correly show whether an image fits well. #2034

Open
Vivian2022 opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels

Comments

@Vivian2022
Copy link

Describe the bug
During the editing process, the side preview pane can't correctly show whether an image fits well in size. Specifically, an image that seems to fit well in the side preview pane doesn't fit well (eg. too large) in the published web page or in the preview pane that occupies the full screen.

Environment

  • OS: Windows 10
  • VSCode: 1.85.1 or later
  • Markdown Preview Enhanced: 0.8.11

To Reproduce
Steps to reproduce the behavior:

  1. Open a markdown document.
  2. Choose "Open preview to the side".
  3. Check the images in the preview pane.
  4. All images seem to fit well in the preview pane.
  5. On the released web page, the images that don't fit well can be easily identified.
  6. If we close the editing pane and let the preview pane occupy the entire window, it's easy to identify images that don't fit well.

Expected behavior
The side preview pane delivers the same behavior as the full-screen preview pane, so it's easy to identify images that don't fit well in size and resize the images immediately.

Markdown file
Any markdown containing a large image.

Screenshots
image

image

Additional context
None.

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

No branches or pull requests

2 participants