media: remove minWidth on Load Media formatting
Minimum width is not needed since we rely on maxWidth set to .infinity to fill the screen bounds. Lightning-address: kernelkind@getalby.com Signed-off-by: kernelkind <kernelkind@gmail.com> Reviewed-by: William Casarin <jb55@jb55.com> Link: 20240131165008.61990-1-kernelkind@gmail.com Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
6ca6a76fdb
commit
48e8c11929
@@ -197,7 +197,7 @@ struct NoteContentView: View {
|
||||
}
|
||||
}
|
||||
.background(DamusColors.neutral1)
|
||||
.frame(minWidth: 200, maxWidth: .infinity, alignment: .center)
|
||||
.frame(minWidth: nil, maxWidth: .infinity, alignment: .center)
|
||||
.cornerRadius(8)
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 8)
|
||||
|
||||
Reference in New Issue
Block a user