Skip to content

Commit

Permalink
Updated slideover width to minimum size of 320
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt54 committed Jun 15, 2024
1 parent 988014b commit f0a9975
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Sources/SwiftUIPreviewLayouts/Views/SlideOverModifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ struct SlideOverModifier: ViewModifier {
.padding(.vertical, 8)
)
}
.cornerRadius(10)
.frame(width: 375)
.padding(.trailing, 24)
.background(Color.black)
.cornerRadius(10)
.frame(width: 320)
.padding(.trailing, 24)
}
}

Expand Down

0 comments on commit f0a9975

Please sign in to comment.