mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
style(button): fix spaces and quotes
This commit is contained in:
parent
01494e60ba
commit
fa9ee1774c
1 changed files with 4 additions and 4 deletions
|
@ -150,7 +150,7 @@
|
||||||
on:mouseenter
|
on:mouseenter
|
||||||
on:mouseleave
|
on:mouseleave
|
||||||
>
|
>
|
||||||
{#if icon && iconPosition === "left"}
|
{#if icon && iconPosition === 'left'}
|
||||||
<svelte:component
|
<svelte:component
|
||||||
this="{icon}"
|
this="{icon}"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
|
@ -162,7 +162,7 @@
|
||||||
<span class:bx--assistive-text="{true}">{iconDescription}</span>
|
<span class:bx--assistive-text="{true}">{iconDescription}</span>
|
||||||
{/if}
|
{/if}
|
||||||
<slot />
|
<slot />
|
||||||
{#if icon && iconPosition === "right"}
|
{#if icon && iconPosition === 'right'}
|
||||||
<svelte:component
|
<svelte:component
|
||||||
this="{icon}"
|
this="{icon}"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
on:mouseenter
|
on:mouseenter
|
||||||
on:mouseleave
|
on:mouseleave
|
||||||
>
|
>
|
||||||
{#if icon && iconPosition=== "left"}
|
{#if icon && iconPosition === 'left'}
|
||||||
<svelte:component
|
<svelte:component
|
||||||
this="{icon}"
|
this="{icon}"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
|
@ -192,7 +192,7 @@
|
||||||
<span class:bx--assistive-text="{true}">{iconDescription}</span>
|
<span class:bx--assistive-text="{true}">{iconDescription}</span>
|
||||||
{/if}
|
{/if}
|
||||||
<slot />
|
<slot />
|
||||||
{#if icon && iconPosition=== "right"}
|
{#if icon && iconPosition === 'right'}
|
||||||
<svelte:component
|
<svelte:component
|
||||||
this="{icon}"
|
this="{icon}"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue