mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
fix text overflow when progressIndicator space-equally
This commit is contained in:
parent
821233ab4f
commit
265965b1f9
1 changed files with 2 additions and 1 deletions
|
@ -70,6 +70,7 @@
|
||||||
class:bx--progress-step-button="{true}"
|
class:bx--progress-step-button="{true}"
|
||||||
class:bx--progress-step-button--unclickable="{current ||
|
class:bx--progress-step-button--unclickable="{current ||
|
||||||
$preventChangeOnClick}"
|
$preventChangeOnClick}"
|
||||||
|
style="width: 100%; padding-right: 16px;"
|
||||||
on:click
|
on:click
|
||||||
on:click="{() => {
|
on:click="{() => {
|
||||||
if (!step.complete) return;
|
if (!step.complete) return;
|
||||||
|
@ -95,7 +96,7 @@
|
||||||
{:else}
|
{:else}
|
||||||
<CircleDash title="{description}" />
|
<CircleDash title="{description}" />
|
||||||
{/if}
|
{/if}
|
||||||
<div class:bx--progress-text="{true}">
|
<div class:bx--progress-text="{true}" style="width: 100%;">
|
||||||
<slot props="{{ class: 'bx--progress-label' }}">
|
<slot props="{{ class: 'bx--progress-label' }}">
|
||||||
<p class:bx--progress-label="{true}">{label}</p>
|
<p class:bx--progress-label="{true}">{label}</p>
|
||||||
</slot>
|
</slot>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue