Is there any way to make the TransitionCarousel full screen? #733
Unanswered
planetaska
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Can you use
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With TransitionCarousel we can set the divClass prop, and the default is
'overflow-hidden relative h-56 rounded-lg sm:h-64 xl:h-80 2xl:h-96'
. As you can see it uses a fixed height. But I want to make it full screen.If I remove the height classes, or use something like
h-full
orh-screen
, then the carousel layout will break during transition. Also the height of each image is not full container height, either. Has anyone succeeded to make the TransitionCarousel or Carousel working in full screen?From the doc I think we need to change slideClass for each Slide component, but how do we do this?
Beta Was this translation helpful? Give feedback.
All reactions