reviewing is work

This commit is contained in:
Ian Gulliver
2026-10-19 19:05:19 -07:00
parent fae286a7d8
commit 31ee494c41
3 changed files with 12 additions and 7 deletions
-2
View File
@@ -403,7 +403,6 @@ private struct WebButton: View {
struct SmallLinkButtonStyle: ButtonStyle {
var color = Palette.accent
var border = Palette.border
var fill = Color.clear
@Environment(\.isEnabled) private var enabled
func makeBody(configuration: ButtonStyleConfiguration) -> some View {
@@ -411,7 +410,6 @@ struct SmallLinkButtonStyle: ButtonStyle {
.font(Fonts.font(11))
.foregroundStyle(color)
.padding(.horizontal, 6)
.background(fill, in: RoundedRectangle(cornerRadius: 4))
.overlay(RoundedRectangle(cornerRadius: 4).stroke(border))
.opacity(enabled ? 1 : 0.45)
.contentShape(Rectangle())