I've been experimenting with the word-break css property, but I just can't seem to get it to work even when using a simple example. Here's my code:
React:
render() {
return (
<h5 className="word-break">A very very long line..........</h5>
);
}
css:
.word-break {
word-break: break-word;
}
Can anyone help point out what I might be missing here?