Extent of warm haloes around medium-redshift galaxies