Have the nightly label actually fit the icon.

This commit is contained in:
Stefan Ceriu
2025-09-26 19:06:23 +03:00
committed by Stefan Ceriu
parent 1f83aa4335
commit 4bb8dad64d

View File

@@ -52,13 +52,13 @@ struct BannerImage: View {
.aspectRatio(contentMode: .fit)
Text(text)
.frame(maxWidth: .infinity)
.padding()
.background(Color.black.opacity(0.5))
.foregroundColor(.white)
.font(.system(size: 140))
.lineLimit(1)
.allowsTightening(true)
.minimumScaleFactor(0.5)
.padding()
.background(Color.black.opacity(0.5))
.frame(maxWidth: .infinity)
}
.frame(width: image.size.width, height: image.size.height)
}