Skip to content

Commit

Permalink
Fix image opening viewer js when clicking on the minecraft icon
Browse files Browse the repository at this point in the history
  • Loading branch information
misike12 committed Oct 11, 2024
1 parent e7951b4 commit 88486eb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion windows/minecraft-for-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@ outline: deep

<br>

<style>
/* Disable viewer.js for images with the no-viewerjs class */
.no-viewerjs {
pointer-events: none;
}
</style>

<div class="linkcard">
<a href="ms-windows-store://pdp/?ProductId=9NBLGGH2JHXJ">
<p class="description"><b>Download Minecraft for Windows</b><br><span>Click here to download!</span></p>
<div class="logo">
<img alt="Logo" width="70px" height="70px" src="/assets/images/minecraft-launcher.webp" class="no-viewer"/>
<img alt="Logo" width="70px" height="70px" src="/assets/images/minecraft-launcher.webp" class="no-viewerjs"/>
</div>
</a>
</div>
Expand Down

0 comments on commit 88486eb

Please sign in to comment.