fix img occlusion

This commit is contained in:
Lachlan Kermode
2020-07-03 10:46:30 +02:00
parent 2b9975397f
commit fdcff48c62
3 changed files with 16 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ export default ({ media, viewIdx, translations, switchLanguage, langIdx }) => {
src={path}
loader={<div className='source-image-loader'><Spinner /></div>}
unloader={<NoSource failedUrls={[ path ]} />}
onClick={() => window.open(path, '_blank')}
/>
</div>
)