From 33d7c650ccc0bfb88a01e3b36b71af64ead098ff Mon Sep 17 00:00:00 2001 From: Jordan Yoshihara Date: Thu, 30 Aug 2018 12:50:48 -0700 Subject: [PATCH 1/2] Updated translations with epub string --- .../static/js/edit_channel/utils/string_helper.js | 1 + contentcuration/contentcuration/static/less/file-uploader.less | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contentcuration/contentcuration/static/js/edit_channel/utils/string_helper.js b/contentcuration/contentcuration/static/js/edit_channel/utils/string_helper.js index 326c82e0d8..9a7aa2ca87 100644 --- a/contentcuration/contentcuration/static/js/edit_channel/utils/string_helper.js +++ b/contentcuration/contentcuration/static/js/edit_channel/utils/string_helper.js @@ -71,6 +71,7 @@ var messages = { "vtt": "VTT Subtitle", "mp3": "MP3 Audio", "pdf": "PDF Document", + "epub": "EPub Document", "jpg": "JPG Image", "jpeg": "JPEG Image", "png": "PNG Image", diff --git a/contentcuration/contentcuration/static/less/file-uploader.less b/contentcuration/contentcuration/static/less/file-uploader.less index 934db35019..b019621fa6 100644 --- a/contentcuration/contentcuration/static/less/file-uploader.less +++ b/contentcuration/contentcuration/static/less/file-uploader.less @@ -145,7 +145,7 @@ .format_preset_name{ font-weight:bold; } } .format_editor_file_name{ - max-width:60%; + max-width:50%; overflow:hidden; display:inline-block; width:auto; From 80dd3957ad4a330aefd61c652152b3effd9b4a6e Mon Sep 17 00:00:00 2001 From: Jordan Yoshihara Date: Thu, 30 Aug 2018 14:00:58 -0700 Subject: [PATCH 2/2] Fixed default preview styling --- contentcuration/contentcuration/static/less/modal-styles.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contentcuration/contentcuration/static/less/modal-styles.less b/contentcuration/contentcuration/static/less/modal-styles.less index 6452ff2dcd..d2e33c4230 100644 --- a/contentcuration/contentcuration/static/less/modal-styles.less +++ b/contentcuration/contentcuration/static/less/modal-styles.less @@ -181,8 +181,9 @@ div#dropzone { min-height: 150px; } .default_preview{ background-color: @uploader-preview-bg-color; min-height:300px; + margin-top: 10px; .default_preview_text{ - margin-top:30%; + margin-top:20%; color:white; } }