From fabfd0951ad40991d2bdf77567a8dffe48d53284 Mon Sep 17 00:00:00 2001 From: Rishit Gupta <74411873+Rishit30G@users.noreply.github.com> Date: Thu, 6 Feb 2025 10:01:12 +0530 Subject: [PATCH] Add pointer-events and cursor styles to gallery images --- packages/block-library/src/gallery/style.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/block-library/src/gallery/style.scss b/packages/block-library/src/gallery/style.scss index 1c4d5549339e1f..f8fc822c55efa0 100644 --- a/packages/block-library/src/gallery/style.scss +++ b/packages/block-library/src/gallery/style.scss @@ -58,6 +58,8 @@ figure.wp-block-gallery.has-nested-images { content: ""; height: 100%; max-height: 40%; + pointer-events: none; + cursor: pointer; // Blur the background under the gradient scrim. backdrop-filter: blur(3px);