splide icon indicating copy to clipboard operation
splide copied to clipboard

Please add a possibility to deactivate arrows on breakpoints

Open cybaer6 opened this issue 5 years ago • 3 comments

I saw, that there is no possibility to deactivate arrows on breakpoints, but it could help to maximize the available with for the slider to 100% on mobile devices. Could you please add this possibility?

cybaer6 avatar Jan 29 '21 13:01 cybaer6

The CSS solution is

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

cybaer6 avatar Jan 31 '21 11:01 cybaer6

Thanks @cybaer6. Your solution works well.

dragonitaq avatar Feb 03 '21 13:02 dragonitaq

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


In v3, the breakpoints supports arrows option.

NaotoshiFujita avatar Oct 09 '21 15:10 NaotoshiFujita