Minor layout fixes

This commit is contained in:
Arkadiusz Fal 2021-08-03 00:43:47 +02:00
parent 2ffe937415
commit ebbc4876e2
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ struct ContentView: View {
if let video = navigationState.video { if let video = navigationState.video {
VideoPlayerView(video) VideoPlayerView(video)
#if !os(iOS) #if !os(iOS)
.frame(minWidth: 500, minHeight: 300) .frame(minWidth: 590, minHeight: 500)
.onExitCommand { .onExitCommand {
navigationState.showingVideo = false navigationState.showingVideo = false
} }

View File

@ -26,6 +26,7 @@ struct VideosView: View {
} }
#if os(macOS) #if os(macOS)
.background() .background()
.frame(minWidth: 360)
#endif #endif
} }
} }