rob-balfre / svelte-select

Svelte Select. A select component for Svelte
https://svelte-select-examples.vercel.app
Other
1.27k stars 180 forks source link

Adjust space between icon and text in item list #376

Closed 99bits closed 2 years ago

99bits commented 2 years ago

Hi, thank you for your amazing work with Svelte-Select. I'm learning how to use it in my project.

I'm trying to adjust the white space between the icon and the label using CSS but cannot find the correct property.

ZerdoX-x commented 2 years ago

Just use :global(). Svelte-select has classes on elements, you can use them to add your own custom global styles.