Click on the damaged unit with your mouse and a little (yellow?) box will appear in it.
That is, assuming you have enough computers. You need two computers (that aren't being used to boot engines, shields, weapons etc) for every 1 unit (of the same tech) you want to repair.
Which basically means that its "easier" to repair whilst stationary than whilst engaged in combat.