Fix Connections card hit area on macOS

This commit is contained in:
世界
2026-04-20 05:26:32 +08:00
parent 8c0d910685
commit 3d76b89245
@@ -79,10 +79,14 @@ public struct ConnectionView: View {
}
}
.foregroundColor(.textColor)
#if !os(tvOS)
.padding(16)
.frame(maxWidth: .infinity, alignment: .leading)
.contentShape(Rectangle())
#endif
}
#if !os(tvOS)
.buttonStyle(.plain)
.padding(16)
.cardStyle()
#endif
.alert($alert)