We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
contentShape
SUButton
1 parent 49bd397 commit 7718b0eCopy full SHA for 7718b0e
Sources/ComponentsKit/Components/Button/SUButton.swift
@@ -124,10 +124,10 @@ private struct CustomButtonStyle: SwiftUI.ButtonStyle {
124
configuration.label
125
.font(self.model.preferredFont.font)
126
.lineLimit(1)
127
- .contentShape(.rect)
128
.padding(.horizontal, self.model.horizontalPadding)
129
.frame(maxWidth: self.model.width)
130
.frame(height: self.model.height)
+ .contentShape(.rect)
131
.foregroundStyle(self.model.foregroundColor.color)
132
.background(self.model.backgroundColor?.color ?? .clear)
133
.clipShape(
0 commit comments