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

Comment on left side on split view shows on the whole length #215

Open
alex-semenyuk opened this issue Feb 7, 2024 · 4 comments
Open

Comment on left side on split view shows on the whole length #215

alex-semenyuk opened this issue Feb 7, 2024 · 4 comments

Comments

@alex-semenyuk
Copy link

alex-semenyuk commented Feb 7, 2024

Comment on left side on split view shows on the whole length - include right side.
Is it possible that it shows only on length left side for which it was left?
@otakustay

@otakustay
Copy link
Owner

I don't quite understand this, could you attach a screenshot to explain it in detail?

@alex-semenyuk
Copy link
Author

alex-semenyuk commented Feb 8, 2024

@otakustay Yes, we can see that on README's overview. I don't want that comment, which we leave for left side, is continued on right side (crossed on the screen).
split-view

@otakustay
Copy link
Owner

This is not possible natively since a unchanged (normal) line is designed to render widget across both sides, however in your Widget component, you may try to wrap your content in a div with {width: '50%'} style on a normal change, it may work, I can try to make such demo later

@alex-semenyuk
Copy link
Author

@otakustay Thanks for answering.
Yes, please provide an example when you have time

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

2 participants