mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:12:46 +08:00
Remove extra whitespace between d-button icon and text
This commit is contained in:
parent
070a1d6e1e
commit
7508c55a7b
|
@ -1,17 +1,17 @@
|
|||
{{#if icon}}
|
||||
{{#if isLoading}}
|
||||
{{d-icon "spinner" class="loading-icon"}}
|
||||
{{~d-icon "spinner" class="loading-icon"~}}
|
||||
{{else}}
|
||||
{{d-icon icon}}
|
||||
{{~d-icon icon~}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#if isLoading}}
|
||||
{{d-icon "spinner" class="loading-icon"}}
|
||||
{{~d-icon "spinner" class="loading-icon"~}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if computedLabel}}
|
||||
{{~#if computedLabel~}}
|
||||
<span class="d-button-label">{{html-safe computedLabel}}{{#if ellipsis}}…{{/if}}</span>
|
||||
{{/if}}
|
||||
{{~/if~}}
|
||||
|
||||
{{yield}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user