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:
parent
4b4bbd4a5e
commit
dec0bc3fb8
@ -343,6 +343,11 @@ table form {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.alert-block p {
|
||||||
|
overflow: hidden;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
.alert-block p:last-child {
|
.alert-block p:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user