only get top and bottom padding