Skip to content

Commit

Permalink
fix: iPad layout issues #2155 (#2170)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyonto authored Oct 12, 2024
1 parent d56707b commit 7b7d835
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class TagChartsViewController: UIViewController {
leading: view.safeLeftAnchor,
bottom: view.safeBottomAnchor,
trailing: view.safeRightAnchor,
padding: .init(top: 6, left: 0, bottom: 28, right: 0)
padding: .init(top: 6, left: 0, bottom: 36, right: 0)
)

scrollView.addSubview(temperatureChartView)
Expand Down Expand Up @@ -449,21 +449,21 @@ class TagChartsViewController: UIViewController {
bottom: 8,
right: 16
),
size: .init(width: 0, height: 26)
size: .init(width: 0, height: 24)
)
} else {
footerView.anchor(
top: scrollView.bottomAnchor,
top: nil,
leading: view.safeLeftAnchor,
bottom: view.safeBottomAnchor,
trailing: view.safeRightAnchor,
padding: .init(
top: 4,
left: 16,
bottom: 8,
bottom: 4,
right: 16
),
size: .init(width: 0, height: 26)
size: .init(width: 0, height: 24)
)
}

Expand Down

0 comments on commit 7b7d835

Please sign in to comment.