Skip to content

Commit

Permalink
Merge pull request #1654 from appwrite/fix-image-zoom-bg
Browse files Browse the repository at this point in the history
Fix: Background color on image zoom
  • Loading branch information
ItzNotABug authored Feb 12, 2025
2 parents 66dab82 + cbdac47 commit ae547ce
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/markdoc/nodes/Image.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,13 @@
.overlay {
inset: 0;
z-index: 25;
/* docs side nav have a z-index of 35 */
z-index: 36;
position: fixed;
background-color: rgba(228, 228, 228, 0.98);
}
:global(.dark) .overlay {
background-color: rgba(27, 27, 27, 0.98);
}
Expand Down

0 comments on commit ae547ce

Please sign in to comment.