CSS fixes for pagination