Skip to content

Commit

Permalink
fix: Support grid layout on larger screens
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley committed Jan 30, 2024
1 parent dccbfd0 commit 8f9e9cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Builds/Views/SummaryCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ struct SummaryCell: View {
.opacity(0.6)
}
}
.lineLimit(1)
.frame(maxWidth: .infinity)
.padding()
.background(status.statusColor)
Expand Down
2 changes: 1 addition & 1 deletion Builds/Views/SummaryView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct SummaryView: View {

@Environment(\.openURL) var openURL

private var layout = [GridItem(.flexible())]
private var layout = [GridItem(.adaptive(minimum: 300))]

var body: some View {
// TODO: Maybe not a grid?
Expand Down

0 comments on commit 8f9e9cb

Please sign in to comment.