macOS: fix the arrow alignment of the secure input popover

This commit is contained in:
Lukas
2026-04-12 11:30:17 +02:00
parent c36b458ad5
commit 53019991f7

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()