Skip to content

Commit 1e4e90c

Browse files
committed
Add better top padding
1 parent ad11185 commit 1e4e90c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

WooCommerce/Classes/Authentication/Epilogue/StorePickerError.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)