This commit is contained in:
Hariharan Mudaliar 2025-08-24 00:13:59 +05:30
commit f06e14074a
2 changed files with 30 additions and 22 deletions

View file

@ -200,17 +200,9 @@ struct ClipboardPanelView: View {
// Close button positioned in top-left corner
VStack {
HStack {
Button(action: onClose) {
Image(systemName: "xmark")
.font(.system(size: 12, weight: .medium))
.foregroundColor(.white)
.frame(width: 24, height: 24)
.background(Color.red)
.clipShape(Circle())
}
.buttonStyle(PlainButtonStyle())
.padding(.leading, 12)
.padding(.top, 12)
NativeStyleCloseButton(action: onClose)
.padding(.leading, 8)
.padding(.top, 8)
Spacer()
}