We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v.4.1.4
everytime i put the slider inside a div with display flex the slider overflow
https://new-academy-f48ae6.webflow.io/test-splide
https://new-academy-f48ae6.webflow.io/formaciones
I want to insert the slider inside a div with display flex or column and it stays inside and fits width 100%
The text was updated successfully, but these errors were encountered:
same with display: grid;
display: grid;
Are there any news on that? I love Splide but this behaviour hits me quite often since I'm working with modular layouts in a css grid :D
Sorry, something went wrong.
I also encounter the same issue when using grid or flex
I solved this issue myself by:
<style> .container { display: flex; } .splide-flex { display: flex; flex: 1 1 0%; } .splide-flex__component { flex: 1 1 0%; width: 200px; /* arbitrary width, can be anything AFAIK */ } </style> <div class="container"> <div class="splide-flex"> <Splide class="splide-flex__component"> (...) </Splide> </div> </div>
No branches or pull requests
Checks
Version
v.4.1.4
Description
everytime i put the slider inside a div with display flex the slider overflow
Reproduction Link
https://new-academy-f48ae6.webflow.io/test-splide
https://new-academy-f48ae6.webflow.io/formaciones
Steps to Reproduce
Expected Behaviour
I want to insert the slider inside a div with display flex or column and it stays inside and fits width 100%
The text was updated successfully, but these errors were encountered: