Skip to content

Commit fab7d49

Browse files
authored
Update button.tsx
A small edit that will get rid of unnecessary code and give access to the inside of the button for styling To avoid unnecessary code, as in example #29935
1 parent 2228831 commit fab7d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/button/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ export class Button implements ComponentInterface, AnchorInterface, ButtonInterf
406406
onBlur={this.onBlur}
407407
{...inheritedAttributes}
408408
>
409-
<span class="button-inner">
409+
<span class="button-inner" part="inner">
410410
<slot name="icon-only" onSlotchange={this.slotChanged}></slot>
411411
<slot name="start"></slot>
412412
<slot></slot>

0 commit comments

Comments
 (0)