Fix display bug in the demo

The text overflowed when the output contained long lines.
Fix it by adding "overflow:hidden" to the output element.