macOS: fix the arrow alignment of the secure input popover (#12249)

pull/12254/head
Mitchell Hashimoto 2026-04-12 13:16:15 -07:00 committed by GitHub
commit d2b79bea77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,6 @@ struct SecureInputOverlay: View {
isPopover = true
}
.backport.pointerStyle(.link)
.padding(.top, 10)
.padding(.trailing, 10)
.popover(isPresented: $isPopover, arrowEdge: .bottom) {
Text("""
Secure Input is active. Secure Input is a macOS security feature that
@ -65,6 +63,8 @@ struct SecureInputOverlay: View {
""")
.padding(.all)
}
.padding(.top, 10)
.padding(.trailing, 10)
}
Spacer()