Dispersal has three major effects on adaptation. First, the gene flow mixes alleles adapted to different environments, potentially hindering (swamping) adaptation. Second, it inflates genetic variance: this aids adaptation to spatially (and temporally) varying environments but if selection is hard, it lowers the mean fitness of the population. Third, neighbourhood size, which determines how weak genetic drift is, increases with dispersal -- when genetic drift is strong, increase of neighbourhood size with dispersal aids adaptation. In this note I focus on the role of dispersal in environments which change smoothly across space, and when local populations are quite small such that genetic drift has a significant effect. Using individual-based simulations, I show that in small populations, even leptokurtic dispersal benefits adaptation, by reducing the power of genetic drift. This has implications for management of small marginal populations: increased gene flow appears beneficial as long as adaptations involves a quantitative, rather than a discrete, trait. However, heavily leptokurtic dispersal will swamp continuous adaptation along steep environmental gradients so that only patches of locally adapted subpopulations remain.