fix text overflow when progressIndicator space-equally

This commit is contained in:
Willy 2023-03-16 19:03:42 +07:00
commit 265965b1f9

View file

@ -70,6 +70,7 @@
class:bx--progress-step-button="{true}"
class:bx--progress-step-button--unclickable="{current ||
$preventChangeOnClick}"
style="width: 100%; padding-right: 16px;"
on:click
on:click="{() => {
if (!step.complete) return;
@ -95,7 +96,7 @@
{:else}
<CircleDash title="{description}" />
{/if}
<div class:bx--progress-text="{true}">
<div class:bx--progress-text="{true}" style="width: 100%;">
<slot props="{{ class: 'bx--progress-label' }}">
<p class:bx--progress-label="{true}">{label}</p>
</slot>