From 5d91355c9769a47ecc1335d9ad912acb1d86d851 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Sat, 30 Jul 2016 15:39:11 -0300 Subject: [PATCH] FIX upload hints --- .../javascripts/discourse/controllers/upload-selector.js.es6 | 2 +- app/assets/stylesheets/desktop/upload.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/controllers/upload-selector.js.es6 b/app/assets/javascripts/discourse/controllers/upload-selector.js.es6 index 61607fed0bd..bc083efcc4f 100644 --- a/app/assets/javascripts/discourse/controllers/upload-selector.js.es6 +++ b/app/assets/javascripts/discourse/controllers/upload-selector.js.es6 @@ -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()})`; diff --git a/app/assets/stylesheets/desktop/upload.scss b/app/assets/stylesheets/desktop/upload.scss index 0d37a0919a5..557bdbdbddc 100644 --- a/app/assets/stylesheets/desktop/upload.scss +++ b/app/assets/stylesheets/desktop/upload.scss @@ -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;