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:
Arkadiusz Fal
2026-04-14 02:49:07 +02:00
parent d111f93462
commit 4f9285686a
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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 {