mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 21:04:33 +08:00
DEV: add btn-default classes to buttons using default styling (#31039)
All of these buttons use our default grey background styling, but aren't carrying the `btn-default` class, which makes them easier to target in themes. This PR adds the class.
This commit is contained in:
@ -90,7 +90,7 @@ export default class AdminChatIncomingWebhooksList extends Component {
|
||||
<LinkTo
|
||||
@route="adminPlugins.show.discourse-chat-incoming-webhooks.edit"
|
||||
@model={{webhook.id}}
|
||||
class="btn btn-small admin-chat-incoming-webhooks-edit"
|
||||
class="btn btn-default btn-small admin-chat-incoming-webhooks-edit"
|
||||
>{{i18n "chat.incoming_webhooks.edit"}}</LinkTo>
|
||||
|
||||
<DButton
|
||||
|
@ -117,6 +117,7 @@ export default class BrowseChannels extends Component {
|
||||
<DButton
|
||||
@action={{this.showChatNewMessageModal}}
|
||||
@label="chat.empty_state.direct_message_cta"
|
||||
class="btn-default"
|
||||
/>
|
||||
</div>
|
||||
</list.EmptyState>
|
||||
|
Reference in New Issue
Block a user