mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-05-09 08:02:40 +00:00
./ add padding inside StatusRowMediaPreviewView
This commit is contained in:
parent
c6b44b23ce
commit
34124254e0
|
@ -54,6 +54,7 @@ public struct StatusRowMediaPreviewView: View {
|
|||
: CGSize(width: imageMaxHeight, height: imageMaxHeight),
|
||||
sensitive: sensitive
|
||||
)
|
||||
.padding(.horizontal, .layoutPadding)
|
||||
.accessibilityElement(children: .ignore)
|
||||
.accessibilityLabel(Self.accessibilityLabel(for: attachments[0]))
|
||||
.accessibilityAddTraits([.isButton, .isImage])
|
||||
|
@ -66,9 +67,11 @@ public struct StatusRowMediaPreviewView: View {
|
|||
}
|
||||
}
|
||||
.padding(.bottom, scrollBottomPadding)
|
||||
.padding(.horizontal, .layoutPadding)
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(.horizontal, -1 * .layoutPadding)
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
|
|
Loading…
Reference in a new issue