Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions FlightApp/Views/Search/FlightSearchView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,22 @@ struct FlightSearchView: View {
// Recent flights section
if !recentSearchStore.recentSearches.isEmpty {
recentFlightsSection
.padding(.horizontal, 20)
.padding(.bottom, 32)
}

// Recent routes section
if !recentRouteStore.recentRoutes.isEmpty {
recentRoutesSection
.padding(.horizontal, 20)
.padding(.bottom, 32)
}

// Discover section
discoverSection
.padding(.bottom, 100) // Space for bottom search bar
}
.padding(.horizontal, 20)
.frame(maxWidth: .infinity)
}

// Unified search bar (liquid glass)
Expand Down Expand Up @@ -299,7 +301,6 @@ struct FlightSearchView: View {
.padding(.horizontal, 20)
}
}
.padding(.horizontal, -20) // Counteract parent padding
}

// MARK: - Helper Functions
Expand Down