Fix reactions button faint outline. (#1226)

This commit is contained in:
Doug
2023-06-30 14:21:25 +01:00
committed by GitHub
parent 2025dd9517
commit ccd4101abf
@@ -64,7 +64,7 @@ struct TimelineReactionButton: View {
} }
.padding(.vertical, 6) .padding(.vertical, 6)
.padding(.horizontal, 8) .padding(.horizontal, 8)
.background(backgroundShape.fill(overlayBackgroundColor)) .background(backgroundShape.inset(by: 1).fill(overlayBackgroundColor))
.overlay(backgroundShape.inset(by: 2.0).strokeBorder(overlayBorderColor)) .overlay(backgroundShape.inset(by: 2.0).strokeBorder(overlayBorderColor))
.overlay(backgroundShape.strokeBorder(Color.compound.bgCanvasDefault, lineWidth: 2)) .overlay(backgroundShape.strokeBorder(Color.compound.bgCanvasDefault, lineWidth: 2))
.accessibilityElement(children: .combine) .accessibilityElement(children: .combine)