mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 10:25:02 +00:00
Avoid collapsed sidebar pill overlapping search on tvOS
Use the tab root's top safe-area inset instead of a fixed 20pt, so the search/options header in History and Bookmarks clears the floating "Home" pill drawn by the sidebarAdaptable TabView.
This commit is contained in:
@@ -99,7 +99,7 @@ struct BookmarksListView: View {
|
|||||||
}
|
}
|
||||||
.focusSection()
|
.focusSection()
|
||||||
.padding(.horizontal, 48)
|
.padding(.horizontal, 48)
|
||||||
.padding(.top, 20)
|
.padding(.top, 80)
|
||||||
|
|
||||||
// Content
|
// Content
|
||||||
Group {
|
Group {
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ struct HistoryListView: View {
|
|||||||
}
|
}
|
||||||
.focusSection()
|
.focusSection()
|
||||||
.padding(.horizontal, 48)
|
.padding(.horizontal, 48)
|
||||||
.padding(.top, 20)
|
.padding(.top, 80)
|
||||||
|
|
||||||
// Content
|
// Content
|
||||||
Group {
|
Group {
|
||||||
|
|||||||
Reference in New Issue
Block a user