diff --git a/.changeset/cool-fishes-yawn.md b/.changeset/cool-fishes-yawn.md new file mode 100644 index 0000000..82b7b0e --- /dev/null +++ b/.changeset/cool-fishes-yawn.md @@ -0,0 +1,5 @@ +--- +"glightbox": patch +--- + +fixed lightbox and overlay height diff --git a/packages/glightbox/src/glightbox.css b/packages/glightbox/src/glightbox.css index cf67fdb..d56fed0 100644 --- a/packages/glightbox/src/glightbox.css +++ b/packages/glightbox/src/glightbox.css @@ -3,7 +3,7 @@ top: 0; left: 0; width: 100dvw; - height: 100dvw; + height: 100dvh; overflow: hidden; z-index: 9999; } @@ -18,7 +18,7 @@ background: var(--gl-overlay, #111010f7); position: fixed; width: 100dvw; - height: 100dvw; + height: 100dvh; overflow: hidden; z-index: -1; inset: 0;