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

Pieces button placement #18

Open
ramarivera opened this issue Feb 28, 2024 · 1 comment
Open

Pieces button placement #18

ramarivera opened this issue Feb 28, 2024 · 1 comment

Comments

@ramarivera
Copy link

Hey team!

Not so much of a bug, more of a request here :)

Would it be possible to change the placement of the pieces button on code blocks? The way it is right now, it makes blocks larger by adding some empty lines. Ideally, I would like it to be still on the same corner, but just not creating all those empty lines.

Screenshot 2024-02-28 at 16 21 15
@caleb-at-pieces
Copy link

I am open to ideas here. The main reason why it creates that empty space at the bottom is to handle the case of having a long line of code near the end of the block, which would cause the code to be covered by the button.

Some other ways to resolve this could be to reduce the padding on that button, or even make the button a bit smaller. I may also be able to introduce a setting that will allow you to decide if the button adds the empty space or not.

Thank you for suggesting this, I should definitely be able to get something in there for ya :)

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