Skip to content

Commit

Permalink
fixed home page for smaller ipads
Browse files Browse the repository at this point in the history
  • Loading branch information
imathur1 committed Jan 11, 2024
1 parent 62f6a71 commit 7af469e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HackIllinois/ViewControllers/HIHomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ extension HIHomeViewController {
}

if UIDevice.current.userInterfaceIdiom == .pad {
bannerFrameView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor).isActive = true
bannerFrameView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: -20 * bannerFrameTopAnchorConstant).isActive = true
} else {
bannerFrameView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: -50 * bannerFrameTopAnchorConstant).isActive = true
}
Expand Down

0 comments on commit 7af469e

Please sign in to comment.