Skip to content

Commit

Permalink
Fix Dropzone CSS styles
Browse files Browse the repository at this point in the history
  • Loading branch information
wwebfor committed Feb 9, 2016
1 parent 1c2ab8a commit ba704bf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion app/scripts/modules/fileDialog/templates/dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ <h4 class="modal-title">
</div>
</form>

<form class="dropzone" action="">
<form class="dropzone--container" action="">
<div class="dropzone row">
</div>
</form>
</div>
<div class="modal-footer">
Expand Down
8 changes: 5 additions & 3 deletions app/scripts/modules/fileDialog/views/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ define([
'backbone.radio',
'behaviors/modalForm',
'dropzone',
'text!modules/fileDialog/templates/dialog.html'
], function(_, Marionette, Radio, ModalForm, Dropzone, Tmpl) {
'text!modules/fileDialog/templates/dialog.html',
'text!modules/fileDialog/templates/dropzone.html'
], function(_, Marionette, Radio, ModalForm, Dropzone, Tmpl, dropzoneTmpl) {
'use strict';

/**
Expand Down Expand Up @@ -65,7 +66,8 @@ define([
clickable : true,
accept : _.bind(this.getImage, this),
thumbnailWidth : 100,
thumbnailHeight : 100
thumbnailHeight : 100,
previewTemplate: dropzoneTmpl
});
}
},
Expand Down
3 changes: 2 additions & 1 deletion app/styles/theme-default/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
// Settings
@import 'settings.less';

// Pagedown editor
// Codemirror editor
@import 'editor.less';
@import 'codemirror.less';
@import 'dropzone.less';

@import 'prism.less';

0 comments on commit ba704bf

Please sign in to comment.