Fixed image overlaying pre/next-buttons

This commit is contained in:
Tobias Reich 2015-07-12 13:54:12 +02:00
parent 1326524ade
commit c3201afc46
3 changed files with 6 additions and 4 deletions

BIN
dist/main.js vendored

Binary file not shown.

BIN
dist/view.js vendored

Binary file not shown.

View File

@ -97,10 +97,7 @@ build.imageview = function(data, size, visibleControls) {
if (data==null) return '' if (data==null) return ''
let html = ` let html = ''
<div class='arrow_wrapper arrow_wrapper--previous'><a id='previous'>${ build.iconic('caret-left') }</a></div>
<div class='arrow_wrapper arrow_wrapper--next'><a id='next'>${ build.iconic('caret-right') }</a></div>
`
if (size==='big') { if (size==='big') {
@ -119,6 +116,11 @@ build.imageview = function(data, size, visibleControls) {
} }
html += `
<div class='arrow_wrapper arrow_wrapper--previous'><a id='previous'>${ build.iconic('caret-left') }</a></div>
<div class='arrow_wrapper arrow_wrapper--next'><a id='next'>${ build.iconic('caret-right') }</a></div>
`
return html return html
} }