mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +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
|
||||
this="{icon}"
|
||||
aria-hidden="true"
|
||||
class="bx--btn__icon"
|
||||
class="{hasIconOnly ? '' : 'bx--btn__icon'}"
|
||||
aria-label="{iconDescription}"
|
||||
/>
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue