diff --git a/VDS/Components/Carousel/Carousel.swift b/VDS/Components/Carousel/Carousel.swift index 4ad8ef8c..6c091ce2 100644 --- a/VDS/Components/Carousel/Carousel.swift +++ b/VDS/Components/Carousel/Carousel.swift @@ -157,12 +157,11 @@ open class Carousel: View { } /// If provided, will apply margin to pagination arrows. Can be set to either positive or negative values. - /// The default value will be 12px in tablet and 8px in mobile. + /// The default value will be 12px in tablet and 8px in mobile. These values are the default in order to avoid overlapping content within the carousel. open var paginationInset: CGFloat { get { return _paginationInset } set { - let minValue = UIDevice.isIPad ? VDSLayout.space3X : VDSLayout.space2X - _paginationInset = (newValue < minValue) ? minValue : newValue + _paginationInset = newValue updatePaginationInset() } }