fix(progress-step): fix label text if vertical is true (#1533)

Fixes #1532
This commit is contained in:
brunnerh 2022-12-08 05:03:34 +01:00 committed by GitHub
commit 75a69bbfc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,12 +95,14 @@
{:else}
<CircleDash title="{description}" />
{/if}
<div class:bx--progress-text="{true}">
<slot props="{{ class: 'bx--progress-label' }}">
<p class:bx--progress-label="{true}">{label}</p>
</slot>
{#if secondaryLabel}
<p class:bx--progress-optional="{true}">{secondaryLabel}</p>
{/if}
</div>
<span class:bx--progress-line="{true}"></span>
</button>
</li>