mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: update a couple button classes (#23127)
This commit is contained in:
parent
a40c98cf27
commit
91c94f5aa6
@ -13,6 +13,7 @@ export default SingleSelectComponent.extend({
|
|||||||
caretDownIcon: "caret-down",
|
caretDownIcon: "caret-down",
|
||||||
showCaret: false,
|
showCaret: false,
|
||||||
customStyle: null,
|
customStyle: null,
|
||||||
|
btnCustomClasses: null,
|
||||||
},
|
},
|
||||||
|
|
||||||
modifyComponentForRow() {
|
modifyComponentForRow() {
|
||||||
|
@ -2,7 +2,7 @@ import DropdownSelectBoxHeaderComponent from "select-kit/components/dropdown-sel
|
|||||||
import discourseComputed from "discourse-common/utils/decorators";
|
import discourseComputed from "discourse-common/utils/decorators";
|
||||||
|
|
||||||
export default DropdownSelectBoxHeaderComponent.extend({
|
export default DropdownSelectBoxHeaderComponent.extend({
|
||||||
classNames: ["period-chooser-header"],
|
classNames: ["period-chooser-header", "btn-flat"],
|
||||||
|
|
||||||
@discourseComputed("selectKit.isExpanded")
|
@discourseComputed("selectKit.isExpanded")
|
||||||
caretIcon(isExpanded) {
|
caretIcon(isExpanded) {
|
||||||
|
@ -98,7 +98,12 @@ export default class ChatMessageActionsDesktop extends Component {
|
|||||||
}}
|
}}
|
||||||
<DropdownSelectBox
|
<DropdownSelectBox
|
||||||
@class="more-buttons secondary-actions"
|
@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}}
|
@content={{this.messageInteractor.secondaryActions}}
|
||||||
@onChange={{this.messageInteractor.handleSecondaryActions}}
|
@onChange={{this.messageInteractor.handleSecondaryActions}}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user