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

when <p> label with background style disorder #132

Closed
kayw-geek opened this issue Apr 5, 2022 · 1 comment
Closed

when <p> label with background style disorder #132

kayw-geek opened this issue Apr 5, 2022 · 1 comment

Comments

@kayw-geek
Copy link

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.

@xiCO2k
Copy link
Collaborator

xiCO2k commented Apr 5, 2022

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.

@xiCO2k xiCO2k closed this as completed Apr 5, 2022
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

2 participants