Skip to content

Commit

Permalink
IOS-2768 Fix layout
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-pusya committed Apr 25, 2024
1 parent 047d52e commit 5dc8502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ final class TextBlockContentView: UIView, BlockContentView, DynamicHeightView, F
textView.layoutUsing.anchors {
$0.trailing.equal(to: contentStackView.trailingAnchor)
$0.top.equal(to: contentStackView.topAnchor)
$0.leading.equal(to: textBlockLeadingView.trailingAnchor, constant: 8)
$0.leading.equal(to: textBlockLeadingView.trailingAnchor)
}

createEmptyBlockButton.layoutUsing.anchors {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ private extension TextBlockIconView {

enum TitleCheckbox {
static let imageSize = CGSize(width: 28, height: 28)
static let viewSize = CGSize(width: 28, height: 32) // height is equel to height of 1 line in text view
static let viewSize = CGSize(width: 36, height: 32) // height is equel to height of 1 line in text view
}
enum Checkbox {
static let imageSize = CGSize(width: 18, height: 18)
Expand Down

0 comments on commit 5dc8502

Please sign in to comment.