mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
apply requested changes
This commit is contained in:
parent
148c8a7d14
commit
43175750d0
1 changed files with 5 additions and 2 deletions
|
@ -94,13 +94,16 @@
|
||||||
{...$$restProps}
|
{...$$restProps}
|
||||||
on:click
|
on:click
|
||||||
>
|
>
|
||||||
{#if company}
|
{#if company || $$slots.company}
|
||||||
<span class:bx--header__name--prefix="{true}">{company}</span>
|
<span class:bx--header__name--prefix="{true}"
|
||||||
|
><slot name="company">{company} </slot></span
|
||||||
|
>
|
||||||
{/if}
|
{/if}
|
||||||
<slot name="platform">{platformName}</slot>
|
<slot name="platform">{platformName}</slot>
|
||||||
</a>
|
</a>
|
||||||
<slot />
|
<slot />
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.bx--header__name--prefix {
|
.bx--header__name--prefix {
|
||||||
padding-right: 0.2rem;
|
padding-right: 0.2rem;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue