mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: add topic-footer-button
class to all topic footer buttons (#31209)
While working with some themes, I noticed that all of these buttons don't have the `topic-footer-button` class, so it can't really be used effectively. The admin menu, bookmark button, and reply button were all missing it. This adds the class. 
This commit is contained in:
parent
a38a1393b5
commit
3e4929fd7e
@ -89,7 +89,7 @@ export default class TopicAdminMenu extends Component {
|
|||||||
@onRegisterApi={{this.onRegisterApi}}
|
@onRegisterApi={{this.onRegisterApi}}
|
||||||
@modalForMobile={{true}}
|
@modalForMobile={{true}}
|
||||||
@autofocus={{true}}
|
@autofocus={{true}}
|
||||||
@triggerClass="btn-default btn-icon toggle-admin-menu"
|
@triggerClass="btn-default btn-icon toggle-admin-menu {{@buttonClasses}}"
|
||||||
>
|
>
|
||||||
<:trigger>
|
<:trigger>
|
||||||
{{icon "wrench"}}
|
{{icon "wrench"}}
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
@resetBumpDate={{this.resetBumpDate}}
|
@resetBumpDate={{this.resetBumpDate}}
|
||||||
@convertToPublicTopic={{this.convertToPublicTopic}}
|
@convertToPublicTopic={{this.convertToPublicTopic}}
|
||||||
@convertToPrivateMessage={{this.convertToPrivateMessage}}
|
@convertToPrivateMessage={{this.convertToPrivateMessage}}
|
||||||
|
@buttonClasses="topic-footer-button"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{{#each this.inlineActionables as |actionable|}}
|
{{#each this.inlineActionables as |actionable|}}
|
||||||
@ -24,7 +25,7 @@
|
|||||||
<BookmarkMenu
|
<BookmarkMenu
|
||||||
@showLabel={{this.showBookmarkLabel}}
|
@showLabel={{this.showBookmarkLabel}}
|
||||||
@bookmarkManager={{this.topicBookmarkManager}}
|
@bookmarkManager={{this.topicBookmarkManager}}
|
||||||
@buttonClasses="btn-default"
|
@buttonClasses="btn-default topic-footer-button"
|
||||||
/>
|
/>
|
||||||
{{else}}
|
{{else}}
|
||||||
<DButton
|
<DButton
|
||||||
@ -134,7 +135,7 @@
|
|||||||
@action={{this.replyToPost}}
|
@action={{this.replyToPost}}
|
||||||
@label="topic.reply.title"
|
@label="topic.reply.title"
|
||||||
@title="topic.reply.help"
|
@title="topic.reply.help"
|
||||||
class="btn-primary create"
|
class="btn-primary create topic-footer-button"
|
||||||
/>
|
/>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user