mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
parent
4c1c4ba8d4
commit
d2efdf5282
@ -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"
|
||||||
/>
|
/>
|
||||||
|
@ -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
|
||||||
}}
|
}}
|
||||||
|
@ -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|>
|
||||||
|
@ -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}}
|
||||||
|
Loading…
Reference in New Issue
Block a user