Skip to content

Conflict with DaisyUI .carousel #311

Answered by howard-tzw
howard-tzw asked this question in Q&A
Discussion options

You must be logged in to vote

I have identified that the issue lies in my usage of the DaisyUI plugin for TailwindCSS, specifically due to a conflicting class named ".carousel" causing layout issues. Here is my temporary solution:

<style lang="scss" scoped>
:deep(.carousel) {
	display: block;
	overflow-x: auto;
	scroll-snap-type: none;
	scroll-behavior: auto;
}
</style>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ismail9k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant