mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 02:20:41 +08:00
minor fixes to select-box
This commit is contained in:
parent
8825581d98
commit
5b9819f4ed
|
@ -1,5 +1,6 @@
|
|||
import NotificationOptionsComponent from "discourse/components/notification-options";
|
||||
import { observes } from "ember-addons/ember-computed-decorators";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import { iconHTML } from "discourse-common/lib/icon-library";
|
||||
|
||||
export default NotificationOptionsComponent.extend({
|
||||
|
@ -12,7 +13,12 @@ export default NotificationOptionsComponent.extend({
|
|||
|
||||
value: Em.computed.alias("category.notification_level"),
|
||||
|
||||
generatedHeadertext: iconHTML("caret-down").htmlSafe(),
|
||||
@computed("value")
|
||||
icon() {
|
||||
return `${this._super()}${iconHTML("caret-down")}`.htmlSafe();
|
||||
},
|
||||
|
||||
generatedHeadertext: null,
|
||||
|
||||
@observes("value")
|
||||
_notificationLevelChanged() {
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
.categories-admin-actions.categories-admin-actions.categories-admin-actions {
|
||||
.select-box-body {
|
||||
min-width: auto;
|
||||
}
|
||||
}
|
|
@ -37,7 +37,6 @@
|
|||
align-self: center;
|
||||
margin-right: 0;
|
||||
opacity: 1;
|
||||
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 40%));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
.reason {
|
||||
line-height: 16px;
|
||||
margin: 0 0 0 5px;
|
||||
margin: 0 0 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@
|
|||
display: inline-flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
margin: 5px 0;
|
||||
margin: 0;
|
||||
|
||||
.topic-notification-options, .reason {
|
||||
display: inline-flex;
|
||||
|
|
Loading…
Reference in New Issue
Block a user