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

docs: Divider horizontal example not working #3151

Closed
xl0 opened this issue Aug 1, 2024 · 2 comments · Fixed by #3154
Closed

docs: Divider horizontal example not working #3151

xl0 opened this issue Aug 1, 2024 · 2 comments · Fixed by #3154

Comments

@xl0
Copy link

xl0 commented Aug 1, 2024

On which page do you see this issue?

https://daisyui.com/components/divider/

Describe the issue

The current horizontal divider example is

<div class="flex w-full">
  <div class="divider divider-start">Start</div>
  <div class="divider">Default</div>
  <div class="divider divider-end">End</div>
</div>

And the divider is not shown.
I think the divider-horizontal class is missing. The code works as expected:

<div class="flex w-full">
	<div class="divider divider-start divider-horizontal">Start</div>
	<div class="divider divider-horizontal">Default</div>
	<div class="divider divider-end divider-horizontal">End</div>
</div>

What browsers are you seeing the problem on?

No response

Copy link

github-actions bot commented Aug 1, 2024

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

@BlueBles
Copy link
Contributor

BlueBles commented Aug 2, 2024

image
image

The example is wrong, but the code behind is good.

BlueBles added a commit to BlueBles/daisyui that referenced this issue Aug 2, 2024
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

Successfully merging a pull request may close this issue.

2 participants