1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 22:30:32 +05:30

Fix browser toolbar layout

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

View File

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

View File

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

View File

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