DEV: add missing button classes (#30997)

While updating a couple of themes I noticed some buttons were missing
`.btn-default`, which resulted in some inconsistent button styling
This commit is contained in:
Kris 2025-01-24 16:33:06 -05:00 committed by GitHub
parent 4c1c4ba8d4
commit d2efdf5282
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import DButton from "discourse/components/d-button";
const BulkSelectToggle = <template> const BulkSelectToggle = <template>
<DButton <DButton
class="bulk-select" class="btn-default bulk-select"
@action={{@bulkSelectHelper.toggleBulkSelect}} @action={{@bulkSelectHelper.toggleBulkSelect}}
@icon="list" @icon="list"
/> />

View File

@ -101,6 +101,7 @@ export default class NotificationsTracking extends Component {
@identifier="notifications-tracking" @identifier="notifications-tracking"
@modalForMobile={{true}} @modalForMobile={{true}}
@triggerClass={{concatClass @triggerClass={{concatClass
"btn-default"
"notifications-tracking-trigger-btn" "notifications-tracking-trigger-btn"
@triggerClass @triggerClass
}} }}

View File

@ -83,7 +83,7 @@ export default class TopicDraftsDropdown extends Component {
@onRegisterApi={{this.onRegisterApi}} @onRegisterApi={{this.onRegisterApi}}
@modalForMobile={{true}} @modalForMobile={{true}}
@disabled={{this.loading}} @disabled={{this.loading}}
class="btn-small" class="btn-small btn-default"
> >
<:content> <:content>
<DropdownMenu as |dropdown|> <DropdownMenu as |dropdown|>

View File

@ -15,7 +15,7 @@
<div class="panel-body-bottom"> <div class="panel-body-bottom">
{{#if this.showAllHref}} {{#if this.showAllHref}}
<DButton <DButton
class="show-all" class="btn-default show-all"
@href={{this.showAllHref}} @href={{this.showAllHref}}
@translatedAriaLabel={{this.showAllTitle}} @translatedAriaLabel={{this.showAllTitle}}
@translatedTitle={{this.showAllTitle}} @translatedTitle={{this.showAllTitle}}