mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
refactor progressindicator without inline style
This commit is contained in:
parent
265965b1f9
commit
cbe3a670c6
1 changed files with 1 additions and 2 deletions
|
@ -70,7 +70,6 @@
|
|||
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;
|
||||
|
@ -96,7 +95,7 @@
|
|||
{:else}
|
||||
<CircleDash title="{description}" />
|
||||
{/if}
|
||||
<div class:bx--progress-text="{true}" style="width: 100%;">
|
||||
<div class:bx--progress-text="{true}" class="bx--progress-step">
|
||||
<slot props="{{ class: 'bx--progress-label' }}">
|
||||
<p class:bx--progress-label="{true}">{label}</p>
|
||||
</slot>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue