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: Tab content width on Safari #2735

Open
robsontenorio opened this issue Jan 7, 2024 · 6 comments
Open

bug: Tab content width on Safari #2735

robsontenorio opened this issue Jan 7, 2024 · 6 comments

Comments

@robsontenorio
Copy link

What version of daisyUI are you using?

4.5.0

Which browsers are you seeing the problem on?

Safari

Reproduction URL

https://play.tailwindcss.com/Ihh18j8vI5

Describe your issue

Tab content does not take all available width on Safari. But, it works on Chrome.

Safari

image

Chrome

image
Copy link

github-actions bot commented Jan 7, 2024

Thank you @robsontenorio 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.

@robsontenorio
Copy link
Author

As workaround I am using for now class=“tabs tabs-bordered block”

@saadeghi
Copy link
Owner

saadeghi commented Jan 8, 2024

As workaround I am using for now class=“tabs tabs-bordered block”

No. block breaks the layout.

It will be fixed by tomorrow.

@robsontenorio
Copy link
Author

Hum. It did not for me. I am using it here
https://mary-ui.com/docs/components/tabs

@saadeghi
Copy link
Owner

saadeghi commented Jan 9, 2024

You placed tab-content after all the tabs, which makes sense when you can target elements using JS,
But this example will break using block because the content comes right after the tab itself. https://daisyui.com/components/tab/#radio-tab-bordered--tab-content

@saadeghi
Copy link
Owner

saadeghi commented Jan 9, 2024

It will be fixed by tomorrow.

It's going to take more time. The grid template I had in mind as a fix, would create other issues.
I'm working on it...

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