mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(button): remove blank line to correctly render button with icon in Safari 13 (#548)
This commit is contained in:
parent
720ef778f2
commit
a67a38218a
1 changed files with 2 additions and 4 deletions
|
@ -137,8 +137,7 @@
|
|||
{#if hasIconOnly}
|
||||
<span class:bx--assistive-text="{true}">{iconDescription}</span>
|
||||
{/if}
|
||||
<slot />
|
||||
<svelte:component
|
||||
<slot /><svelte:component
|
||||
this="{icon}"
|
||||
aria-hidden="true"
|
||||
class="bx--btn__icon"
|
||||
|
@ -157,8 +156,7 @@
|
|||
{#if hasIconOnly}
|
||||
<span class:bx--assistive-text="{true}">{iconDescription}</span>
|
||||
{/if}
|
||||
<slot />
|
||||
<svelte:component
|
||||
<slot /><svelte:component
|
||||
this="{icon}"
|
||||
aria-hidden="true"
|
||||
class="bx--btn__icon"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue