Bicycle Computer Mount for Small Diameter Handlebars
Most computer mounts come with plastic spacers that can be placed between the hard plastic mount and the handlebar. If yours didn't come with that, I have used Athletic tape to build up the bars to the point where the mount will grip the bars adequately.