mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 11:04:59 +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";
|
return allowsAttachments() ? "upload" : "picture-o";
|
||||||
},
|
},
|
||||||
|
|
||||||
@computed('controller.local')
|
@computed('local')
|
||||||
tip(local) {
|
tip(local) {
|
||||||
const source = local ? "local" : "remote";
|
const source = local ? "local" : "remote";
|
||||||
const authorized_extensions = authorizesAllExtensions() ? "" : `(${authorizedExtensions()})`;
|
const authorized_extensions = authorizesAllExtensions() ? "" : `(${authorizedExtensions()})`;
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
}
|
}
|
||||||
.description, .hint {
|
.description, .hint {
|
||||||
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
.hint {
|
.hint {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user