Increased padding around content in views

This increased padding is roughly the same as the padding around native iOS components like lists, which makes it look a lot more uniform. The increased padding also makes everything feel a little less cramped.
This commit is contained in:
2026-01-28 00:13:10 -05:00
parent e761b7ab8a
commit 1902870e03
9 changed files with 46 additions and 29 deletions

View File

@@ -148,10 +148,11 @@ struct OpenWidgetEntryView : View {
Text("Closing Soon")
.foregroundStyle(.orange)
}
Text("\(dateDisplay.string(from: diningTimes[0].openTime)) - \(dateDisplay.string(from: diningTimes[0].closeTime))")
.font(.system(size: 15))
.foregroundStyle(.secondary)
ForEach(diningTimes, id: \.self) { diningTime in
Text("\(dateDisplay.string(from: diningTime.openTime)) - \(dateDisplay.string(from: diningTime.closeTime))")
.font(.system(size: 14))
.foregroundStyle(.secondary)
}
} else {
Text("Closed")
.foregroundStyle(.red)