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>
<DButton
class="bulk-select"
class="btn-default bulk-select"
@action={{@bulkSelectHelper.toggleBulkSelect}}
@icon="list"
/>

View File

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

View File

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

View File

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