feat: update Sparkline and Widget components for improved layout and visuals
This commit is contained in:
@@ -16,10 +16,10 @@ struct SmallWidgetView: View {
|
||||
quote: hero,
|
||||
updatedAt: entry.date,
|
||||
horizontalPadding: padding,
|
||||
iconSize: 24,
|
||||
iconSize: 20,
|
||||
titleSize: 13,
|
||||
priceSize: 21,
|
||||
chartHeight: 38,
|
||||
chartHeight: 40,
|
||||
showFullDate: false,
|
||||
showAbsolute: false
|
||||
)
|
||||
@@ -98,10 +98,10 @@ struct LargeWidgetView: View {
|
||||
quote: hero,
|
||||
updatedAt: entry.date,
|
||||
horizontalPadding: padding,
|
||||
iconSize: 36,
|
||||
iconSize: 28,
|
||||
titleSize: 19,
|
||||
priceSize: 32,
|
||||
chartHeight: 72
|
||||
chartHeight: 70
|
||||
)
|
||||
|
||||
if !rest.isEmpty {
|
||||
|
||||
Reference in New Issue
Block a user