File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
WooCommerce/Classes/Authentication/Epilogue Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ struct StorePickerError: View {
2727
2828 // Body text
2929 Text ( Localization . body)
30+ . multilineTextAlignment ( . center)
3031 . bodyStyle ( )
3132
3233 VStack ( spacing: Layout . buttonsSpacing) {
@@ -49,7 +50,8 @@ struct StorePickerError: View {
4950 . buttonStyle ( LinkButtonStyle ( ) )
5051 }
5152 }
52- . padding ( )
53+ . padding ( [ . leading, . trailing, . bottom] )
54+ . padding ( . top, Layout . topPadding)
5355 . background ( Color ( . basicBackground) )
5456 . cornerRadius ( Layout . rounderCorners)
5557 }
@@ -74,6 +76,7 @@ private extension StorePickerError {
7476 static let rounderCorners : CGFloat = 10
7577 static let mainVerticalSpacing : CGFloat = 25
7678 static let buttonsSpacing : CGFloat = 15
79+ static let topPadding : CGFloat = 30
7780 }
7881}
7982
You can’t perform that action at this time.
0 commit comments