mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix(button): avoid left margin style for icon-only buttons (#1477)
Fixes #1476
This commit is contained in:
parent
c02663486b
commit
7c1ca3fa74
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@
|
||||||
<slot /><svelte:component
|
<slot /><svelte:component
|
||||||
this="{icon}"
|
this="{icon}"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
class="bx--btn__icon"
|
class="{hasIconOnly ? '' : 'bx--btn__icon'}"
|
||||||
aria-label="{iconDescription}"
|
aria-label="{iconDescription}"
|
||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue