saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
34.24k stars 1.31k forks source link

bug: nested different types of `join` conflict with one another #2912

Closed tronikelis closed 8 months ago

tronikelis commented 8 months ago

What version of daisyUI are you using?

4.7.2

Which browsers are you seeing the problem on?

Chrome, Firefox

Reproduction URL

https://play.tailwindcss.com/tRuVSiXFZv

Describe your issue

Horizontally joined buttons' border radius inside vertically joined items conflict

image

<div class="join join-vertical w-full">
  <div class="collapse join-item collapse-arrow border border-base-300">
    <input type="radio" name="my-accordion-4" checked="checked" />
    <div class="collapse-title text-xl font-medium">Click to open this one and close others</div>
    <div class="collapse-content">
      <p>hello</p>

      <div class="join join-horizontal">
        <button class="btn join-item">Button</button>
        <button class="btn join-item">Button</button>
        <button class="btn join-item">Button</button>
        <button class="btn join-item">Button</button>
        <button class="btn join-item">Button</button>
        <button class="btn join-item">Button</button>
      </div>
    </div>
  </div>
github-actions[bot] commented 8 months ago

Thank you @Tronikelis 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 commented 8 months ago

duplicate of #2413