From 992b0f2eba52e8376be29288437d4038932c3581 Mon Sep 17 00:00:00 2001 From: kernelkind Date: Tue, 30 Jan 2024 12:36:49 -0500 Subject: [PATCH] ui: fix load media formatting on small screens On small screens, specifically the iPhone 12 Mini in this case, the 'Load Media' has a minimum width which is too high so it causes formatting problems when viewing replies. The minimum width of the frame was arbitrarily decreased from 300 to 200. Changelog-Fixed: Fix load media formatting on small screens Closes: https://github.com/damus-io/damus/issues/1944 Lightning-address: kernelkind@getalby.com Signed-off-by: kernelkind Signed-off-by: William Casarin --- damus/Views/NoteContentView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/NoteContentView.swift b/damus/Views/NoteContentView.swift index fc69b9ca..9687ef04 100644 --- a/damus/Views/NoteContentView.swift +++ b/damus/Views/NoteContentView.swift @@ -197,7 +197,7 @@ struct NoteContentView: View { } } .background(DamusColors.neutral1) - .frame(minWidth: 300, maxWidth: .infinity, alignment: .center) + .frame(minWidth: 200, maxWidth: .infinity, alignment: .center) .cornerRadius(8) .overlay( RoundedRectangle(cornerRadius: 8)