aboutsummaryrefslogtreecommitdiff
path: root/DomainDig/DomainDigUI.swift
diff options
context:
space:
mode:
Diffstat (limited to 'DomainDig/DomainDigUI.swift')
-rw-r--r--DomainDig/DomainDigUI.swift5
1 files changed, 5 insertions, 0 deletions
diff --git a/DomainDig/DomainDigUI.swift b/DomainDig/DomainDigUI.swift
index a50f766..67c30b4 100644
--- a/DomainDig/DomainDigUI.swift
+++ b/DomainDig/DomainDigUI.swift
@@ -245,6 +245,11 @@ struct AppStatusBadgeView: View {
}
Text(model.title)
}
+ // Never compress. Squeezed beside a long domain at accessibility sizes,
+ // the capsule otherwise wraps one character per line into a
+ // screen-height pill. Taking natural width instead forces the row's
+ // ViewThatFits onto its stacked layout, which is the intended fallback.
+ .fixedSize()
.font(appDensity.font(.caption, weight: .semibold))
.foregroundStyle(model.foregroundColor)
.padding(.horizontal, 9)