IE image fixes

This commit is contained in:
Shaun Chyxion 2018-04-02 22:45:09 +08:00
parent fb7072260a
commit e6765c4462
3 changed files with 7 additions and 3 deletions

View File

@ -15,7 +15,8 @@ export default Ember.Route.extend({
Ember.Logger.debug(`User ${user} Loggedin`);
me.set('ajax.user', user);
me.message.alert('Sign in successfully');
me.transitionTo('/');
// me.transitionTo('/');
window.location.href = '/';
}, function(msg) {
me.get('message').warn(msg);
});

View File

@ -26,6 +26,7 @@
<h5 class="grey" style="margin-bottom: 4px;">{{image.title}}</h5>
{{/if}}
{{image-previews
class="col-xs-12"
image-height=null
image-style=(if (is-screen '<md')
'border-radius: 2%; border: 1px solid #DCDCDC; max-width: 90%;'

View File

@ -1,5 +1,5 @@
{{#if images}}
<ul class="ace-thumbnails clearfix0">
<ul class="ace-thumbnails clearfix">
{{#each images as |image i|}}
{{#if (eq i index)}}
<li class="no-margin no-padding clearfix" style="float: inherit; overflow: inherit; border-width: 0">
@ -16,7 +16,9 @@
</a>
</li>
{{else}}
<a style="display: none" href="{{if image.image image.image image}}" data-rel="{{elementId}}_preview" title={{image.title}}></a>
<li style="display: none">
<a style="display: none" href="{{if image.image image.image image}}" data-rel="{{elementId}}_preview" title={{image.title}}></a>
</li>
{{/if}}
{{/each}}
</ul>