diff --git a/app/assets/javascripts/app/controllers/layout_ref.js.coffee b/app/assets/javascripts/app/controllers/layout_ref.js.coffee index cceee347d..e58ee45b5 100644 --- a/app/assets/javascripts/app/controllers/layout_ref.js.coffee +++ b/app/assets/javascripts/app/controllers/layout_ref.js.coffee @@ -609,7 +609,7 @@ App.Config.set( 'layout_ref/organization_profile', ReferenceOrganizationProfile, class ReferenceSetupWizard extends App.ControllerWizard elements: - '.fileUpload-preview': 'logoPreview' + '.logo-preview': 'logoPreview' '#agent_email': 'agentEmail' '#agent_first_name': 'agentFirstName' '#agent_last_name': 'agentLastName' diff --git a/app/assets/javascripts/app/views/layout_ref/setup.jst.eco b/app/assets/javascripts/app/views/layout_ref/setup.jst.eco index aa2f6c84e..89bb80ca0 100644 --- a/app/assets/javascripts/app/views/layout_ref/setup.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/setup.jst.eco @@ -55,14 +55,8 @@
-
-
- -
-
-
<%- @T('Upload') %>
-
-
+ +
Upload
diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index 60da9cad3..212aa62e2 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -4195,18 +4195,14 @@ label + .wizard-buttonList { } } -.setup.wizard .fileUpload-placeholder { - border: dotted 1px #eee; - height: 100px; +.setup.wizard .logo-preview { + display: block; } -.setup.wizard .fileUpload-preview { - max-height: 100px; - max-width: 180px; -} - -.setup.wizard .fileUpload-preview:not([src=""]) + .fileUpload { - margin-left: 15px; +.setup.wizard .logo-preview:not([src=""]) { + max-width: 100%; + max-height: 130px; + margin: 0 auto 15px; } .import.wizard .wizard-slide {