CSS: Fixed pagination wrapping in IE8

Fixes #5612