From fbe764b18e00818dcdaad9f7aae6419270eed5ac Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Mon, 2 Sep 2024 17:23:04 +0530 Subject: [PATCH] fix: lightbox issue with alignment control --- assets/scss/components/main/_gutenberg.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/assets/scss/components/main/_gutenberg.scss b/assets/scss/components/main/_gutenberg.scss index d660ecb2d1..0f5ccf58a5 100644 --- a/assets/scss/components/main/_gutenberg.scss +++ b/assets/scss/components/main/_gutenberg.scss @@ -151,3 +151,15 @@ blockquote { } } +.wp-lightbox-overlay { + + figure { + + img { + height: var(--wp--lightbox-image-height); + min-height: var(--wp--lightbox-image-height); + min-width: var(--wp--lightbox-image-width); + width: var(--wp--lightbox-image-width); + } + } +}