splide icon indicating copy to clipboard operation
splide copied to clipboard

If arrows set to false not 100% of available width is used for slide

Open cybaer6 opened this issue 5 years ago • 2 comments

If I set arrows to false the arrows aren't displayed, but the available width for the slider is the same as the width with arrows. Could you change the available width to 100% please?

cybaer6 avatar Jan 29 '21 13:01 cybaer6

I found a css solution for this problem:

@media all and (max-width: 480px) {
	.splide__arrows {
		display: none;
	}
	.splide {
		padding-left: 0;
		padding-right: 0;
	}
}

cybaer6 avatar Jan 30 '21 10:01 cybaer6

Close the issue due to the major version update. Feel free to create a new issue or open a new discussion.

NaotoshiFujita avatar Oct 09 '21 15:10 NaotoshiFujita