Change baseline method to add margins instead of max-height