Fix browser toolbar layout

This commit is contained in:
Arkadiusz Fal 2022-06-26 23:37:27 +02:00
parent 8d3bbb34d6
commit f490102c31
3 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,6 @@ struct AppSidebarNavigation: View {
.foregroundColor(.accentColor)
Spacer()
}
.frame(maxHeight: .infinity)
}
}
}

View File

@ -36,6 +36,7 @@ struct BrowserPlayerControls<Content: View, Toolbar: View>: View {
return ZStack(alignment: .bottomLeading) {
content
.frame(maxHeight: .infinity)
#if !os(tvOS)
VStack(spacing: 0) {

View File

@ -54,7 +54,7 @@ struct SignInRequiredView<Content: View>: View {
OpenSettingsButton()
#endif
}
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: .center)
.frame(minWidth: 0, maxWidth: .infinity, alignment: .center)
}
}