Skip to content

Click-through blur effect when gallery images have a caption. #69061

@CruelDrool

Description

@CruelDrool

What problem does this address?

When gallery images have a caption there is a blur effect added to the <figure> tag using the pseudo class :before. This effect is not click-through and prevents clicking on the image link. Particularly noticeable with taller the images.

What is your proposed solution?

In packages/block-library/src/gallery/style.scss, line 61, add:

pointer-events: none

Not a huge issue, I just add this to my own CSS styling.

Metadata

Metadata

Assignees

Labels

[Block] GalleryAffects the Gallery Block - used to display groups of images[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions