mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(progress-step): fix label text if vertical
is true
(#1533)
Fixes #1532
This commit is contained in:
parent
7a98ec26eb
commit
75a69bbfc2
1 changed files with 8 additions and 6 deletions
|
@ -95,12 +95,14 @@
|
||||||
{:else}
|
{:else}
|
||||||
<CircleDash title="{description}" />
|
<CircleDash title="{description}" />
|
||||||
{/if}
|
{/if}
|
||||||
<slot props="{{ class: 'bx--progress-label' }}">
|
<div class:bx--progress-text="{true}">
|
||||||
<p class:bx--progress-label="{true}">{label}</p>
|
<slot props="{{ class: 'bx--progress-label' }}">
|
||||||
</slot>
|
<p class:bx--progress-label="{true}">{label}</p>
|
||||||
{#if secondaryLabel}
|
</slot>
|
||||||
<p class:bx--progress-optional="{true}">{secondaryLabel}</p>
|
{#if secondaryLabel}
|
||||||
{/if}
|
<p class:bx--progress-optional="{true}">{secondaryLabel}</p>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
<span class:bx--progress-line="{true}"></span>
|
<span class:bx--progress-line="{true}"></span>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue