Skip to content

Commit

Permalink
Fix clipped feature indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenErn committed Jan 17, 2025
1 parent 0751971 commit 07b4c43
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import SwiftUI

struct ChipView: View {
let item: ChipModel
private let borderWidth: CGFloat = 1

var body: some View {
Text(item.name)
.font(.subheadline)
Expand All @@ -21,12 +23,13 @@ struct ChipView: View {
RoundedRectangle(cornerRadius: 8)
.stroke(
UIColor.primaryColor.color,
lineWidth: 1
lineWidth: borderWidth
)
.background(
RoundedRectangle(cornerRadius: 8)
.fill(UIColor.secondaryColor.color)
)
.padding(borderWidth)
)
}
}
Expand Down

0 comments on commit 07b4c43

Please sign in to comment.