Nested tabs style override #4200
Unanswered
cesarIsysDev
asked this question in
Q&A
Replies: 2 comments 7 replies
-
|
Please, can someone help me? I also created a tailwind play: https://play.tailwindcss.com/E8y36zT8Af |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm encountering a problem, which I'm unsure if it's a bug or misuse of the tool, so I decided to ask first before reporting the error. In the layout of an app I'm building, on one of the pages I have a tab inside another tab. I noticed that if the parent tab has the 'border' style, some of the styles are passed down to the child tab. However, this behavior doesn't happen with other tabs and is completely undesirable because each one should have its proposed theme. I've created a minimal example to demonstrate it, and I'm also sending my package.json. I'm using Next.js.
package.json
{ "name": "testecomponent", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev --turbopack", "build": "next build --turbopack", "start": "next start" }, "dependencies": { "daisyui": "^5.3.7", "next": "15.5.6", "react": "19.1.0", "react-dom": "19.1.0" }, "devDependencies": { "@tailwindcss/postcss": "^4.1.15", "@types/node": "^20", "@types/react": "^19", "@types/react-dom": "^19", "tailwindcss": "^4.1.15", "typescript": "^5" } }Beta Was this translation helpful? Give feedback.
All reactions