mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
FIX: Remove zero-width space when not necessary (#18429)
A zero-width space character is inserted for icon-only buttons, but that is unnecessary when the button has some rich-content and the block form is used.
This commit is contained in:
parent
35a90b6a3f
commit
b615201b88
@ -8,7 +8,7 @@
|
||||
|
||||
{{~#if this.computedLabel~}}
|
||||
<span class="d-button-label">{{html-safe this.computedLabel}}{{#if this.ellipsis}}…{{/if}}</span>
|
||||
{{~else~}}
|
||||
{{~else if (not (has-block))~}}
|
||||
​
|
||||
{{! Zero-width space character, so icon-only button height = regular button height }}
|
||||
{{~/if~}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user