mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
fix(link): remove line breaks within anchor link
This commit is contained in:
parent
9c4200aa3d
commit
6b34deb5c6
1 changed files with 1 additions and 4 deletions
|
@ -40,7 +40,6 @@
|
||||||
<slot />
|
<slot />
|
||||||
</p>
|
</p>
|
||||||
{:else}
|
{:else}
|
||||||
<!-- svelte-ignore a11y-missing-attribute -->
|
|
||||||
<a
|
<a
|
||||||
bind:this="{ref}"
|
bind:this="{ref}"
|
||||||
class:bx--link="{true}"
|
class:bx--link="{true}"
|
||||||
|
@ -55,8 +54,6 @@
|
||||||
on:click
|
on:click
|
||||||
on:mouseover
|
on:mouseover
|
||||||
on:mouseenter
|
on:mouseenter
|
||||||
on:mouseleave
|
on:mouseleave><slot /></a
|
||||||
>
|
>
|
||||||
<slot />
|
|
||||||
</a>
|
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue