Skip to content

Commit

Permalink
Fixed an issue with image preview in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrytsenko authored Dec 28, 2017
1 parent e625d6d commit 76659ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bwt-image-preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
</style>
<template is="dom-if" if="{{ _checkTheme(theme,'circle') }}">
<div class$="[[className]]">
<div class="img" style="background: url('[[image]]') no-repeat center center;"></div>
<div class="img" style$="background: url('[[image]]') no-repeat center center;"></div>
</div>
</template>
<template is="dom-if" if="{{ _checkTheme(theme,'square') }}">
<div class$="[[className]]">
<div class="img" style="background: url('[[image]]') no-repeat left top;"></div>
<div class="img" style$="background: url('[[image]]') no-repeat center center;"></div>
</div>
</template>
</template>
Expand Down

0 comments on commit 76659ca

Please sign in to comment.