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

Fix long lines in moderation action description #1232

Merged

Conversation

myhro
Copy link
Contributor

@myhro myhro commented Dec 22, 2023

Closes #1231.

Lines containing a long URL, for instance, would cause the text to overflow its content box.

In the original issue it was suggested to use word-break: break-word; but this property value is considered to be deprecated.

The fix was specifically applied to the Action column in order to not break the username in the Moderator column.

Preview

image

P.s.: I'm not a Frontend Developer, so please let me know if this has to be done in a completely different way.

Lines containing a long URL, for instance, would cause the text to
overflow its content box.
@pushcx
Copy link
Member

pushcx commented Dec 22, 2023

Looks like a solid solution, and straightforward to revise if needed. Thanks for jumping in and fixing this!

@pushcx pushcx merged commit e55ca71 into lobsters:master Dec 22, 2023
1 check passed
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.

Long lines in moderation action description cause table to extend beyond container
2 participants