mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 15:33:43 +08:00
FIX upload hints (#4357)
This commit is contained in:
commit
e79c216bc0
|
@ -20,7 +20,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
|
|||
return allowsAttachments() ? "upload" : "picture-o";
|
||||
},
|
||||
|
||||
@computed('controller.local')
|
||||
@computed('local')
|
||||
tip(local) {
|
||||
const source = local ? "local" : "remote";
|
||||
const authorized_extensions = authorizesAllExtensions() ? "" : `(${authorizedExtensions()})`;
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
}
|
||||
.description, .hint {
|
||||
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
||||
display: block;
|
||||
}
|
||||
.hint {
|
||||
font-style: italic;
|
||||
|
|
Loading…
Reference in New Issue
Block a user