Skip to content

Commit

Permalink
fix(button): fix button loader size for XL (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfeldpausch authored Jan 31, 2021
1 parent d6ea803 commit f9929fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/core/components/button/button.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class TuiButtonComponent
}

get loaderSize(): TuiSizeS {
return this.size === 'l' ? 'm' : 's';
return this.size === 'l' || this.size === 'xl' ? 'm' : 's';
}

@HostBinding('attr.disabled')
Expand Down

0 comments on commit f9929fe

Please sign in to comment.