mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
Fix vertical layout of ProgressStep.
This commit is contained in:
parent
ae34451583
commit
373c3587e0
1 changed files with 8 additions and 6 deletions
|
@ -92,12 +92,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