mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
FIX: some button classes
This commit is contained in:
@ -6,6 +6,8 @@ export default DropdownButton.extend({
|
|||||||
descriptionKey: 'help',
|
descriptionKey: 'help',
|
||||||
classNames: ['pinned-options'],
|
classNames: ['pinned-options'],
|
||||||
title: '',
|
title: '',
|
||||||
|
buttonExtraClasses: 'btn-icon-text',
|
||||||
|
|
||||||
longDescription: function(){
|
longDescription: function(){
|
||||||
const topic = this.get('topic');
|
const topic = this.get('topic');
|
||||||
const globally = topic.get('pinned_globally') ? '_globally' : '';
|
const globally = topic.get('pinned_globally') ? '_globally' : '';
|
||||||
|
@ -43,7 +43,7 @@ export default createWidget('topic-notifications-button', {
|
|||||||
const details = buttonDetails(level);
|
const details = buttonDetails(level);
|
||||||
|
|
||||||
const button = {
|
const button = {
|
||||||
className: `btn toggle-notification-options`,
|
className: `toggle-notification-options`,
|
||||||
label: null,
|
label: null,
|
||||||
icon: details.icon,
|
icon: details.icon,
|
||||||
action: 'toggleDropdown',
|
action: 'toggleDropdown',
|
||||||
|
Reference in New Issue
Block a user