How do I prevent this overflow?
Rather than wrapping overly long tag names I would recommend limiting the maximum length of tag names. You can so so with the Tagging Tools plugin.
Add this css
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.