Skip to content

Commit

Permalink
fix: fixed lightbox and overlay height
Browse files Browse the repository at this point in the history
  • Loading branch information
biati-digital committed Mar 31, 2024
1 parent 4250184 commit c078589
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/cool-fishes-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"glightbox": patch
---

fixed lightbox and overlay height
4 changes: 2 additions & 2 deletions packages/glightbox/src/glightbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
top: 0;
left: 0;
width: 100dvw;
height: 100dvw;
height: 100dvh;
overflow: hidden;
z-index: 9999;
}
Expand All @@ -18,7 +18,7 @@
background: var(--gl-overlay, #111010f7);
position: fixed;
width: 100dvw;
height: 100dvw;
height: 100dvh;
overflow: hidden;
z-index: -1;
inset: 0;
Expand Down

0 comments on commit c078589

Please sign in to comment.