It doesn't seem this is really fixed. It's more broken in a different way. By applying the overflow rule, we're telling the browser to chop off anything that's too wide, but the problem is that it's getting to be too wide in the first place.
In other words, we're attempting to address the symptom without addressing the core problem.
I think you'll want to jump back in and investigate that core problem, which is that long text within each entry doesn't wrap. For that, you might want to look at white-space: pre-wrap, which is like <pre>'s default whitespace-preserving behavior (which this will use, being in a <pre>, but with wrapping.