Open oconnelltoby opened 2 years ago
@oconnelltoby since you have recreated this issue, would absolutely love it if you were able to push up the fix for this.
@mfix22 Hi, I wanted to help with this issue. But I am new to open source. I followed your contribution guide but I am unable to start your application.
It is giving me this:
.
Can you please help me with this, what might have been the issue?
Describe the bug Code is horizontally clipped when viewed in Medium as embedded content
To Reproduce
Expected behavior I would expect to be able to scroll left and right to see the rest of the code
Screenshots
Info (please complete the following information):
Code snippet
```swift import UIKit public extension UIScrollView { convenience init(stackView: UIStackView) { self.init(frame: .zero) stackView.translatesAutoresizingMaskIntoConstraints = false addSubview(stackView) NSLayoutConstraint.activate([ stackView.topAnchor.constraint(equalTo: contentLayoutGuide.topAnchor), stackView.bottomAnchor.constraint(equalTo: contentLayoutGuide.bottomAnchor), stackView.leadingAnchor.constraint(equalTo: safeAreaLayoutGuide.leadingAnchor), stackView.trailingAnchor.constraint(equalTo: safeAreaLayoutGuide.trailingAnchor), contentLayoutGuide.widthAnchor.constraint(equalTo: widthAnchor), ]) } } ```