mirror of
git://jb55.com/damus
synced 2024-09-29 08:20:45 +00:00
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 <kernelkind@gmail.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
9d91856ea3
commit
992b0f2eba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user