DEV: update a couple button classes (#23127)

This commit is contained in:
Kris 2023-09-25 16:45:57 -04:00 committed by GitHub
parent a40c98cf27
commit 91c94f5aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -13,6 +13,7 @@ export default SingleSelectComponent.extend({
caretDownIcon: "caret-down",
showCaret: false,
customStyle: null,
btnCustomClasses: null,
},
modifyComponentForRow() {

View File

@ -2,7 +2,7 @@ import DropdownSelectBoxHeaderComponent from "select-kit/components/dropdown-sel
import discourseComputed from "discourse-common/utils/decorators";
export default DropdownSelectBoxHeaderComponent.extend({
classNames: ["period-chooser-header"],
classNames: ["period-chooser-header", "btn-flat"],
@discourseComputed("selectKit.isExpanded")
caretIcon(isExpanded) {

View File

@ -98,7 +98,12 @@ export default class ChatMessageActionsDesktop extends Component {
}}
<DropdownSelectBox
@class="more-buttons secondary-actions"
@options={{hash icon="ellipsis-v" placement="left"}}
@options={{hash
icon="ellipsis-v"
placement="left"
customStyle="true"
btnCustomClasses="btn-flat"
}}
@content={{this.messageInteractor.secondaryActions}}
@onChange={{this.messageInteractor.handleSecondaryActions}}
/>