From 96a871d16d47c580cd73c22a93dc0d99170f486d Mon Sep 17 00:00:00 2001 From: Pavel Holec Date: Tue, 25 Oct 2022 18:54:52 +0200 Subject: [PATCH] Fix horizontal size of `Tag` content --- Sources/Orbit/Components/Tag.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Orbit/Components/Tag.swift b/Sources/Orbit/Components/Tag.swift index 15555f410cd..44359aa6aa5 100644 --- a/Sources/Orbit/Components/Tag.swift +++ b/Sources/Orbit/Components/Tag.swift @@ -36,6 +36,7 @@ public struct Tag: View { Text(label, color: nil, weight: .medium) .padding(.vertical, Self.verticalPadding) } + .fixedSize(horizontal: true, vertical: false) TextStrut(.normal) .padding(.vertical, Self.verticalPadding)