Skip to content

Commit

Permalink
Merge pull request #343 from kiwicom/335-fix-horizontal-size-of-tag-c…
Browse files Browse the repository at this point in the history
…ontent

Fix horizontal size of `Tag` content
  • Loading branch information
PavelHolec authored Oct 26, 2022
2 parents def2349 + 96a871d commit feaf9b0
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 feaf9b0

Please sign in to comment.