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

🚸 Better wrap lines for gitmoji codes for better readability #1345

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

vhoyer
Copy link
Collaborator

@vhoyer vhoyer commented Feb 21, 2023

Linked issues

fixes #1331 (partially)

@vhoyer vhoyer requested a review from carloscuesta February 21, 2023 13:08
@vercel
Copy link

vercel bot commented Feb 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
gitmoji ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 21, 2023 at 1:10PM (UTC)

leads to better readability
@vhoyer vhoyer force-pushed the better-break-gitmoji-code branch from 94a6d64 to db76b52 Compare February 21, 2023 13:08
@vhoyer vhoyer changed the title 🚸 Better wrap lines for gitmoji codes leads to better readability 🚸 Better wrap lines for gitmoji codes to better readability Feb 21, 2023
@vhoyer vhoyer changed the title 🚸 Better wrap lines for gitmoji codes to better readability 🚸 Better wrap lines for gitmoji codes for better readability Feb 21, 2023
@@ -49,4 +57,13 @@ const Gitmoji = (props: Props) => {
)
}

const replaceWithJSX = (text: string, find: string, replace: JSX.Element) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Should we rename this fn to explain better what is doing? (Facilitating the readability of the emoji codes using wbr tags?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for being MIA, I've been really busy recently, I will come back helping as soon as possible, tho, much love ❤️

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries! Was just a small comment happy to merge this 😊
Hope everything is good ❤️

@carloscuesta carloscuesta merged commit 163676c into master Mar 15, 2023
@carloscuesta carloscuesta deleted the better-break-gitmoji-code branch March 15, 2023 18:57
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI elements has a different height in list view
2 participants