Small fix for forms with alert messages

This patch fixes the case when a long non-breakable word
is contained in a alert message. Then this breaks the form.
See https://pzt.me/7h0a for an example. The patch adds
overflow:hidden and word-break to css to force long words
to break on next line.

Change-Id: Ic7c2c63c1be74aa0b4e667458b92c01ee6e103cb
This commit is contained in:
Tihomir Trifonov 2012-02-29 12:08:17 +02:00
parent 4b4bbd4a5e
commit dec0bc3fb8
1 changed files with 5 additions and 0 deletions

View File

@ -343,6 +343,11 @@ table form {
margin-bottom: 0;
}
.alert-block p {
overflow: hidden;
word-wrap: break-word;
}
.alert-block p:last-child {
margin-bottom: 0;
}