kirby icon indicating copy to clipboard operation
kirby copied to clipboard

[Panel] - Gallery block: wrong css applied to unrelated fields

Open manuelmoreale opened this issue 4 months ago • 1 comments

Description

In a gallery block, some extra css is applied to unrelated fields because of a css conflict.

For example: Screenshot 2024-10-15 at 5 30 51 PM

This toggle has an extra gap in between the buttons because it is inheriting a grid-gap value set on the .k-block-type-gallery ul selector.

Screenshot 2024-10-15 at 5 32 24 PM

Expected behavior
That extra CSS shouldn't be applied to unrelated items.

To reproduce

Add a toggle field to a gallery block and the bug should be there. I didn't test this with other types of field but it should be there on all fields that use an ul

Your setup

4.4.0

manuelmoreale avatar Oct 15 '24 15:10 manuelmoreale