Skip to content

Commit efd2cc4

Browse files
fix layout
1 parent b513ae8 commit efd2cc4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sources/AdaEngineWebsite/Pages/MainPage.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ struct MainPage: StaticPage {
131131
header()
132132
.padding(.bottom, 100)
133133
carousel()
134-
.padding(.bottom, 100)
135134
latestNews()
136-
.padding(.bottom, 100)
137135
features()
138136
}
139137

@@ -208,7 +206,7 @@ extension MainPage {
208206
Text("Latest News")
209207
.font(.primary(size: .rem(3)))
210208
.horizontalAlignment(.center)
211-
.padding(.bottom, 100)
209+
.padding(.vertical, 100)
212210

213211
Div {
214212
Grid(alignment: .topLeading, spacing: 10) {
@@ -229,7 +227,7 @@ extension MainPage {
229227
Text("Features")
230228
.font(.primary(size: .rem(3)))
231229
.horizontalAlignment(.center)
232-
.padding(.bottom, 100)
230+
.padding(.vertical, 100)
233231

234232
Div {
235233
ForEach(items.enumerated()) { index, item in

0 commit comments

Comments
 (0)