Skip to content

Commit cdf4292

Browse files
author
Mithun
committed
Bug Fix: Minor layout issues
1 parent 68ec671 commit cdf4292

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

DesignCode/ContentView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,6 @@ struct CardBottomView: View {
160160
.background(BlurView(style: .systemMaterial))
161161
.cornerRadius(30)
162162
.shadow(radius: 20)
163-
.offset(y: UIScreen.main.bounds.height - 170)
163+
.offset(y: UIScreen.main.bounds.height - 215)
164164
}
165165
}

DesignCode/Home.swift

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ struct Home: View {
4848
struct Home_Previews: PreviewProvider {
4949
static var previews: some View {
5050
Home()
51+
.previewDevice("iPhone X")
5152
}
5253
}
5354
#endif

DesignCode/HomeList.swift

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ struct CourseView: View {
8181
.foregroundColor(.white)
8282
.padding(30)
8383
.lineLimit(4)
84-
.padding(.trailing, 50)
8584

8685
Spacer()
8786

0 commit comments

Comments
 (0)