Closed Bug 615895 Opened 14 years ago Closed 14 years ago

"Get emailed when this article changes" button is a l10n/layout problem

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jsocol, Assigned: paulc)

Details

Feel free to make the summary better

The "Get emailed when this article changes" "link" is a button, and so doesn't wrap. It needs to be a POST, so it needs to be a button. What can we do here? It's one thing in English but in some locales, well, see attachment 494405 [details].
Buttons can't wrap? No matter what CSS we throw at it?
They don't wrap by default, at least. [1] indicates maybe we can get around that.

[1] http://stackoverflow.com/questions/862010/how-to-wrap-text-of-html-button-with-fixed-width
I can confirm that white-space: normal; makes the text break, though you also have to apply other style to make sure the text is left-aligned, etc. But yeah, that should take care of it.
Landed on master:
https://github.com/jsocol/kitsune/commit/56eab31d10a85d06d24139b432ad8f1d5c37b132
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee: nobody → paulc
Verified text wraps on master for non-US locales
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.