From fb2050c1bd4d79b4cb953d174b24d4bdc9b35881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=9C=E7=9A=87?= Date: Mon, 2 Apr 2018 13:05:54 +0800 Subject: [PATCH] add overflow-x --- web/app/routes/login.js | 2 +- .../components/customer-application/preview-btn.hbs | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/web/app/routes/login.js b/web/app/routes/login.js index f634eba..f8389c7 100644 --- a/web/app/routes/login.js +++ b/web/app/routes/login.js @@ -15,7 +15,7 @@ export default Ember.Route.extend({ Ember.Logger.debug(`User ${user} Loggedin`); me.set('ajax.user', user); me.message.alert('Sign in successfully'); - me.transitionTo('index'); + me.transitionTo('/'); }, function(msg) { me.get('message').warn(msg); }); diff --git a/web/app/templates/components/customer-application/preview-btn.hbs b/web/app/templates/components/customer-application/preview-btn.hbs index 1740ca3..7a54026 100644 --- a/web/app/templates/components/customer-application/preview-btn.hbs +++ b/web/app/templates/components/customer-application/preview-btn.hbs @@ -1,4 +1,4 @@ - + {{!-- --}} {{model.name}} @@ -12,7 +12,7 @@ close-to-parent=false}}
-

{{content}}

+

{{content}}


{{model.note}}


@@ -21,10 +21,11 @@
{{#if image.title}} -
{{image.title}}
+
{{image.title}}
{{/if}} - {{image-previews image-height=192 image-style='border-radius: 2%; border: 1px solid #DCDCDC; max-width: 480px;' previews=images index=index}} -
+ {{image-previews image-height=null + image-style='border-radius: 2%; border: 1px solid #DCDCDC; max-width: 90%;' previews=images index=index}} +
{{/each}}