mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
remove nbsp that can cause glitch on load
This commit is contained in:
parent
d8259af657
commit
148c8a7d14
1 changed files with 6 additions and 1 deletions
|
@ -95,9 +95,14 @@
|
||||||
on:click
|
on:click
|
||||||
>
|
>
|
||||||
{#if company}
|
{#if company}
|
||||||
<span class:bx--header__name--prefix="{true}">{company} </span>
|
<span class:bx--header__name--prefix="{true}">{company}</span>
|
||||||
{/if}
|
{/if}
|
||||||
<slot name="platform">{platformName}</slot>
|
<slot name="platform">{platformName}</slot>
|
||||||
</a>
|
</a>
|
||||||
<slot />
|
<slot />
|
||||||
</header>
|
</header>
|
||||||
|
<style>
|
||||||
|
.bx--header__name--prefix {
|
||||||
|
padding-right: 0.2rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue