mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
parent
b4e7e735b3
commit
f99a92c842
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@
|
||||||
class="{size && `bx--number--${size}`}"
|
class="{size && `bx--number--${size}`}"
|
||||||
>
|
>
|
||||||
{#if mobile}
|
{#if mobile}
|
||||||
{#if label}
|
{#if $$slots.label || label}
|
||||||
<label
|
<label
|
||||||
for="{id}"
|
for="{id}"
|
||||||
class:bx--label="{true}"
|
class:bx--label="{true}"
|
||||||
|
@ -243,7 +243,7 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
{#if label}
|
{#if $$slots.label || label}
|
||||||
<label
|
<label
|
||||||
for="{id}"
|
for="{id}"
|
||||||
class:bx--label="{true}"
|
class:bx--label="{true}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue