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: The editor view get shrunk on open #287

Open
davion-258 opened this issue Sep 4, 2023 · 2 comments
Open

Bug: The editor view get shrunk on open #287

davion-258 opened this issue Sep 4, 2023 · 2 comments

Comments

@davion-258
Copy link

Describe the bug
Thank you for the awesome app.
I just got this issue on opening the editor: The editor view is shrunk to the left.
image

  • It will return to normal when I click on the Raw button.
  • It happens every time I open the editor with existing data.
  • It would not happen if the data (in Local Storage) is cleared.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://readme.so/editor
  2. Add the section Run Locally
  3. Edit the section with value:
## Run

```bash
  python vision.py <path-to-image-1> <path-to-image-2> <path-to-base-image> 
```

Don't know how but only with this value, the issue happens.

  1. Open the editor again on a new tab and see the error
  2. The size turns to normal if I click on the Raw button

Expected behavior
The size of the editor view should be the same as before editing.

Additional context
I use Chrome v116.0
Have tried other values but they didn't produce the issue, only the value above did.

I'm willing to help investigate and fix it.

@STAR-173
Copy link

Well, I did some tinkering with the values and found out that it behaves this way as the preview window is set to tend to display all the information in one line.

Could be an easy fix either by locking the sizing of the windows or making the preview window word wrap.

But before Continuing, Wanted to know if the repository is still active or not

@octokatherine
Copy link
Owner

@STAR-173 hi! If you'd like to submit a fix, that would be great!

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

3 participants