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.


![image](https://github.com/user-attachments/assets/3d374896-5d45-445a-9970-1d3f3f4f06de)
This commit is contained in:
Kris 2025-02-06 12:23:47 -05:00 committed by GitHub
parent a38a1393b5
commit 3e4929fd7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -89,7 +89,7 @@ export default class TopicAdminMenu extends Component {
@onRegisterApi={{this.onRegisterApi}}
@modalForMobile={{true}}
@autofocus={{true}}
@triggerClass="btn-default btn-icon toggle-admin-menu"
@triggerClass="btn-default btn-icon toggle-admin-menu {{@buttonClasses}}"
>
<:trigger>
{{icon "wrench"}}

View File

@ -16,6 +16,7 @@
@resetBumpDate={{this.resetBumpDate}}
@convertToPublicTopic={{this.convertToPublicTopic}}
@convertToPrivateMessage={{this.convertToPrivateMessage}}
@buttonClasses="topic-footer-button"
/>
{{#each this.inlineActionables as |actionable|}}
@ -24,7 +25,7 @@
<BookmarkMenu
@showLabel={{this.showBookmarkLabel}}
@bookmarkManager={{this.topicBookmarkManager}}
@buttonClasses="btn-default"
@buttonClasses="btn-default topic-footer-button"
/>
{{else}}
<DButton
@ -134,7 +135,7 @@
@action={{this.replyToPost}}
@label="topic.reply.title"
@title="topic.reply.help"
class="btn-primary create"
class="btn-primary create topic-footer-button"
/>
{{/if}}