diff --git a/scarf/scarf/ContentView.swift b/scarf/scarf/ContentView.swift index 8a44b76..7571002 100644 --- a/scarf/scarf/ContentView.swift +++ b/scarf/scarf/ContentView.swift @@ -21,7 +21,12 @@ struct ContentView: View { ServerSwitcherToolbar() } if serverContext.isRemote { - ToolbarItem(placement: .principal) { + // `.principal` placement renders the item inside a + // centered emphasis bezel on macOS, which reads as + // an unwanted capsule-with-shadow around the pill. + // `.primaryAction` (right side of the toolbar) has + // no decorative background — what we want. + ToolbarItem(placement: .primaryAction) { ConnectionStatusPill(status: connectionStatus) } }