Skip to content

bug: Hover gallery is broken with CDN #4474

@coronawalrus

Description

@coronawalrus

Reproduction URL (Required)

https://jsbin.com/yaqureweki/edit?html,output

What version of daisyUI are you using?

v5.5.19

Which browsers are you seeing the problem on?

All browsers

Describe your issue

Hover gallery is broken when using CDN.

(Note that the behavior is different in Chrome (v146) and FF (v148), but broken in both)

The jsbin link just tries to reproduces the sample from official doc : https://daisyui.com/components/hover-gallery/

My guess is that some CSS properties are incorrectly set by the CDN version.

jsbin with CDN:

  • the .hover-gallery element is a flex:
Image

official documentation:

  • the .hover-gallery element is a grid:
Image

I also noticed that other properties are missing for the images (grid-column is the most noticeable one)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions