CrazyTim / spin-wheel

An easy to use, themeable component for randomising choices and prizes.
https://crazytim.github.io/spin-wheel/examples/themes
MIT License
203 stars 53 forks source link

Is there anyway to cut space between label and image in each item? #36

Closed elvinkim03 closed 4 months ago

CrazyTim commented 5 months ago

@elvinkim03 can you provide a screenshot and example of what you are trying to do?

elvinkim03 commented 4 months ago

@CrazyTim Sorry I was really busy. I've designed and changed to use image property now. But there's a problem sometime the image flick white when I try to change the image (I change image property that has highlighted design) and I'm not sure what caused it

CrazyTim commented 4 months ago

Hi @elvinkim03, it sounds like the image has not been loaded by the browser yet. Try pre-loading all images before you add them to the wheel. Have a look at how its done in this example page https://crazytim.github.io/spin-wheel/examples/themes.