From d3dddc6e1b3c0dbecf297f023e256a1b252b4ab8 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 3 Jan 2024 18:05:07 -0500 Subject: [PATCH] DEV: add `btn-default` class to review action buttons (#25095) --- .../discourse/app/components/reviewable-bundled-action.gjs | 2 +- .../javascripts/discourse/app/components/reviewable-item.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/reviewable-bundled-action.gjs b/app/assets/javascripts/discourse/app/components/reviewable-bundled-action.gjs index 6924610ec6e..1541c66ee98 100644 --- a/app/assets/javascripts/discourse/app/components/reviewable-bundled-action.gjs +++ b/app/assets/javascripts/discourse/app/components/reviewable-bundled-action.gjs @@ -61,7 +61,7 @@ export default class ReviewableBundledAction extends Component { @translatedLabel={{this.first.label}} @disabled={{@reviewableUpdating}} class={{concatClass - "reviewable-action" + "btn-default reviewable-action" (dasherize this.first.id) this.first.button_class }} diff --git a/app/assets/javascripts/discourse/app/components/reviewable-item.hbs b/app/assets/javascripts/discourse/app/components/reviewable-item.hbs index ea861ab07be..0d0f885035e 100644 --- a/app/assets/javascripts/discourse/app/components/reviewable-item.hbs +++ b/app/assets/javascripts/discourse/app/components/reviewable-item.hbs @@ -122,7 +122,7 @@ @icon="pencil-alt" @action={{action "edit"}} @label="review.edit" - class="reviewable-action edit" + class="reviewable-action btn-default edit" /> {{/if}} {{/if}}