Skip to content

Commit

Permalink
fix: change cta button constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasan Can Aslan committed Jan 2, 2023
1 parent 4fbabbc commit dcd7d12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/ImageViewer_swift/ImageCarouselViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ public class ImageCarouselViewController: UIPageViewController, ImageViewerTrans
.constraint(equalTo: view.leadingAnchor, constant: 40)
.isActive = true
ctaButton.trailingAnchor
.constraint(equalTo: view.trailingAnchor, constant: 40)
.constraint(equalTo: view.trailingAnchor, constant: -40)
.isActive = true
ctaButton.bottomAnchor
.constraint(equalTo: view.bottomAnchor, constant: 40)
.constraint(equalTo: view.bottomAnchor, constant: -90)
.isActive = true
}

Expand Down

0 comments on commit dcd7d12

Please sign in to comment.