Skip to content

Commit

Permalink
Fix horizontal size of Tag content
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelHolec committed Oct 25, 2022
1 parent def2349 commit 96a871d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Orbit/Components/Tag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96a871d

Please sign in to comment.