Fixed image overlaying pre/next-buttons
This commit is contained in:
parent
1326524ade
commit
c3201afc46
BIN
dist/main.js
vendored
BIN
dist/main.js
vendored
Binary file not shown.
BIN
dist/view.js
vendored
BIN
dist/view.js
vendored
Binary file not shown.
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user