Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Responsive join always vertical (with CDN usage) #3508

Open
mika2na opened this issue Feb 18, 2025 · 2 comments
Open

bug: Responsive join always vertical (with CDN usage) #3508

mika2na opened this issue Feb 18, 2025 · 2 comments
Assignees

Comments

@mika2na
Copy link

mika2na commented Feb 18, 2025

What version of daisyUI are you using?

5.0.0-beta.8

Which browsers are you seeing the problem on?

Chrome

Reproduction URL

https://play.tailwindcss.com/6EWJRzOT7f

Describe your issue

When using DaisyUI 5 with CDN (version 5.0.0-beta.8) Join as "Responsive: it’s vertical on small screen and horizontal on large screen" is not working as expected. Indeed, it's always vertical.

But on Tailwind Play it's working as expected ... (https://play.tailwindcss.com/6EWJRzOT7f)

Copy link

Thank you @mika2na 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.

@saadeghi saadeghi self-assigned this Feb 18, 2025
@deburca
Copy link

deburca commented Feb 23, 2025

I noticed the same issue.

The responsive join works when CSS is generated using PostCSS locally.

The code

.lg\:join-horizontal {
            flex-direction:row
        }

is present in the locally generated CSS (plus other lg:join-horizontal related CSS).

On the CDN version of DaisyUI CSS (https://cdn.jsdelivr.net/npm/[email protected]/daisyui.css), such lg:join-horizontal related code is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants