An inline alert slips right into the flow of text.
As such it can be broken across lines.
You can keep the alert's message brief and you can use
white-space:nowrap to prevent it from breaking across lines.
It is also important to make the line height large enough to prevent the
alert's padding and border from overlapping neighboring lines.