Adjusts padding for pagination