Skip to content

Commit

Permalink
fix(MyKSuiteView): Centered button + Full size background
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Feb 14, 2025
1 parent ee5e505 commit d2935f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/MyKSuite/Sources/MyKSuiteView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public struct MyKSuiteView: View {
MyKSuiteResources.Assets.gradient.swiftUIImage
.resizable()
.scaledToFit()
.ignoresSafeArea()

VStack(alignment: .leading, spacing: IKPadding.huge) {
VStack(alignment: .leading, spacing: IKPadding.medium) {
Expand Down Expand Up @@ -66,6 +67,7 @@ public struct MyKSuiteView: View {
.ikButtonFullWidth(true)
.controlSize(.large)
.buttonStyle(.ikBorderedProminent)
.frame(maxWidth: .infinity, alignment: .center)
}
.padding(.horizontal, value: .large)
.font(FontHelper.body)
Expand Down

0 comments on commit d2935f5

Please sign in to comment.