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

BUG: tabs-lg screws up layout #2970

Closed
Pithikos opened this issue Apr 10, 2024 · 2 comments
Closed

BUG: tabs-lg screws up layout #2970

Pithikos opened this issue Apr 10, 2024 · 2 comments

Comments

@Pithikos
Copy link

Pithikos commented Apr 10, 2024

What version of daisyUI are you using?

4.10.1

Which browsers are you seeing the problem on?

Chrome

Reproduction URL

https://codepen.io/Nijoko/pen/BaExxeW

Describe your issue

I'm trying to alter the official tabs example, but for simple changes it just doesn't play nicely. (This is on Vue3 for reference if it matters)

image

The official example kind of works okayish as seen in the screenshot. Changing tabs to tabs-lg totally screws up the layout

image

Copy link

Thank you @Pithikos 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
Copy link
Owner

I thing you forgot to use the tabs class.

- <div role="tablist" class="tabs-lg tabs-bordered">
+ <div role="tablist" class="tabs tabs-lg tabs-bordered">

tabs-lg is a modifier for tabs. It's not a replacement.

Let me know if you have a question.

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