padding on roll up header view

This commit is contained in:
Trey t
2022-02-10 16:27:05 -06:00
parent 97e6e52c8c
commit e1b563251c

View File

@@ -64,10 +64,6 @@ struct SmallRollUpHeaderView: View {
HStack {
ForEach(entries, id: \.0) { model in
textView(forModel: model)
.font(.title)
.fontWeight(.bold)
.foregroundColor(model.mood.color)
.frame(maxWidth: .infinity)
}
}
}
@@ -82,11 +78,11 @@ struct SmallRollUpHeaderView: View {
textView(forModel: model)
.font(.title)
.fontWeight(.bold)
.frame(maxWidth: 50)
.foregroundColor(Color(UIColor.white))
.frame(width: 40, height: 40)
.scaledToFill()
.minimumScaleFactor(0.5)
.lineLimit(1)
.foregroundColor(Color(UIColor.white))
}
.padding([.leading, .trailing], 5)
}