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

feat: copy button on snippet code #217

Merged
merged 2 commits into from Jan 7, 2024

Conversation

ramaID
Copy link
Contributor

@ramaID ramaID commented Jan 7, 2024

No description provided.

@satnaing
Copy link
Owner

satnaing commented Jan 7, 2024

Seems pretty useful.
How about we place the button inside the code block; and adjust the border-radius to be less rounded?
I think it looks nicer.

Screenshot 2024-01-07 at 6 37 32 PM

Rename the function name `copyButton` to `attachCopyButtons`. Update copy button styles. Fix broken backToTop function.
@satnaing satnaing merged commit 6e7d76a into satnaing:main Jan 7, 2024
@satnaing
Copy link
Owner

satnaing commented Jan 7, 2024

Just make some changes and merged it.
Thanks for your PR @ramaID.

@ramaID ramaID deleted the feat/copy-button-post-details branch January 7, 2024 16:19
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

Successfully merging this pull request may close these issues.

None yet

2 participants