Skip to content

Commit

Permalink
Fix mozilla-mobile#5862 - Reading list text is not fully displayed in…
Browse files Browse the repository at this point in the history
… landscapeMode (mozilla-mobile#5872)
  • Loading branch information
yusadogru authored and garvankeeley committed Dec 12, 2019
1 parent 694cc30 commit bbdfee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/Frontend/Library/ReaderPanel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class ReadingListPanel: UITableViewController, LibraryPanel {
welcomeLabel.adjustsFontSizeToFitWidth = true
welcomeLabel.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.top.equalToSuperview().offset(150)
make.top.equalToSuperview().offset(UIDevice.current.orientation.isLandscape ? 16 : 150)
make.width.equalTo(ReadingListPanelUX.WelcomeScreenItemWidth + ReadingListPanelUX.WelcomeScreenCircleSpacer + ReadingListPanelUX.WelcomeScreenCircleWidth)
}

Expand Down

0 comments on commit bbdfee5

Please sign in to comment.