Text wrapping depends on the Web browser used to view your Quick Shopping Cart storefront, not on the storefront itself. Internet Explorer® has a proprietary mechanism for wrapping long, single words with no breaks. However, Firefox® and Safari® do not have such a mechanism.
If your category or product name include long words (or words joined by hyphens without spaces), depending on the visitor's current screen resolution, Firefox and Safari only wrap if there are spaces between the words.
To prevent this issue, consider using a smaller or more condensed font for your category or product name.