Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

First-child on padding-top not work #13915

Closed
shiqocred opened this issue Jun 29, 2024 · 1 comment
Closed

First-child on padding-top not work #13915

shiqocred opened this issue Jun 29, 2024 · 1 comment

Comments

@shiqocred
Copy link

What version of Tailwind CSS are you using?

For example: v2.0.4

What build tool (or framework if it abstracts the build tool) are you using?

Next.js 14.1.2

What version of Node.js are you using?

v20.0.0

What browser are you using?

Chrome

What operating system are you using?

macOS

Describe your issue

<div className="flex flex-col text-xs md:text-sm py-4 before:w-[1px] before:content-[''] before:absolute before:left-3 md:before:left-5 before:bg-gray-300 before:h-full before:top-0 relative z-0 first:pt-8 before:dark:bg-gray-700 last:pb-0">
   ...
</div>

first-child: is not work when i use on BubbleChat like

<div className="w-full">
     {chats.map((item) => (
        <BubbleChat key={item.id} {...item} />
      ))}
</div>
@wongjn
Copy link
Contributor

wongjn commented Jun 29, 2024

Seems to be working in this Tailwind Play. Could you provide a fuller reproduction of when it doesn't work please?

@tailwindlabs tailwindlabs locked and limited conversation to collaborators Jun 29, 2024
@adamwathan adamwathan converted this issue into discussion #13916 Jun 29, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants