@@ -1228,7 +1243,9 @@ export function HostItem({
(alwaysShowTray ||
actionsOnly ||
(shouldUseClickTray && isTrayOpen)) && (
-
+
{connectionButtons}
)}
diff --git a/src/ui/tests/sidebar/tree/HostItem/HostItem.test.tsx b/src/ui/tests/sidebar/tree/HostItem/HostItem.test.tsx
index 30a4c6b79..2bbf3762c 100644
--- a/src/ui/tests/sidebar/tree/HostItem/HostItem.test.tsx
+++ b/src/ui/tests/sidebar/tree/HostItem/HostItem.test.tsx
@@ -219,6 +219,13 @@ describe("HostItem density parity", () => {
expect(screen.getByText("prod")).toBeTruthy();
});
+ it("puts compact tags on the name row instead of their own line", () => {
+ renderHostItem("compact");
+ const tag = screen.getByText("prod");
+ expect(tag.dataset.testid).toBe("host-inline-tag");
+ expect(tag.closest("[data-drag-label]")).toBeTruthy();
+ });
+
it("hides tags in both densities when showTags is false", () => {
render(