nunomaduro/termwind

when <p> label with background style disorder

kayw-geek opened this issue · 1 comments

I found that my will take effect on the blank line, and this blank line will be applied with the background color, resulting in style confusion.

render(<<<'HTML'
    <div class="mx-2 my-1 space-y-1">

        <div class="bg-red"><p>xcccccccccccccccccccccccccccccccccccccccccccccccc</p></div>

    </div>
HTML);

image
If this is a BUG, I am willing to fix it, but I may need some guidance.

Hey @kayw-geek there is some issues related with the bg- colors with line breaks, my suggestion for now is to add the bg class on every line, until we figure a good way to handle the line breaks with background colors.