Skip to content

Commit

Permalink
fix filter scroll truncation
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dydx committed Aug 19, 2024
1 parent 05c1cb8 commit cbc0c11
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dydx/dydxViews/dydxViews/_v4/Markets/dydxMarketsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ public class dydxMarketsViewModel: PlatformViewModel {

let header =
VStack(spacing: 0) {
VStack(spacing: 8) {
VStack(alignment: .leading, spacing: 8) {
self.filter.createView(parentStyle: style)
.padding(.horizontal, 16)
.padding(.leading, 16)
if let filterFooterText = self.filterFooterText {
Text(filterFooterText)
.themeFont(fontType: .base, fontSize: .small)
.themeColor(foreground: .textTertiary)
.padding(.horizontal, 16)
}
}
Spacer(minLength: 16)
Expand Down

0 comments on commit cbc0c11

Please sign in to comment.