Skip to content

docs: responsive examples break when a prefix is configured #4663

Closed

Description

@sulimanbenhalim

On which page do you see this issue?

https://daisyui.com/components/footer/#footer-with-logo-and-social-icons

Describe the issue

set the docs prefix input to d- and the footer example shows:

<footer class="d-footer d-sm:footer-horizontal bg-neutral text-neutral-content p-10">

Image

there's no d-sm: variant, so copying that into a prefixed project leaves the footer vertical at every width. should be sm:d-footer-horizontal.

same in tooltip (d-lg:tooltip, d-md:tooltip-right, d-md:tooltip-center), label (the responsive floating-label rows), and drawer (d-is-drawer-close:tooltip, where the variant is fine but the class after it loses its prefix).

21 tokens across those 4 pages. identical output with the default empty prefix, which is why it's easy to miss.

can you assign this to me? i have the fix ready.

What browsers are you seeing the problem on?

No response

Activity

  1. github-actions commented on Aug 8, 2026

    @github-actions

    Thank you @sulimanbenhalim for reporting issues. It helps daisyUI a lot 💚
    I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
    In the meantime providing more details and reproduction links would be helpful.

  2. added a commit that references this issue on Aug 8, 2026
    e7b2ecb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions