Fix padding on toolbar buttons

This commit is contained in:
Max Goedjen 2025-09-11 20:08:02 -07:00
parent 6e7cf82618
commit ff90d0381c
No known key found for this signature in database

View File

@ -39,6 +39,7 @@ struct ToolbarButtonStyle: ButtonStyle {
} else {
configuration
.label
.padding(EdgeInsets(top: 6, leading: 8, bottom: 6, trailing: 8))
.background(colorScheme == .light ? lightColor : darkColor)
.foregroundColor(.white)
.clipShape(RoundedRectangle(cornerRadius: 5))