fix(app): preserve host badge identity

Keep host badges visible under row pressure and apply the selected host color consistently to the icon, label, and tinted background.
This commit is contained in:
Mohamed Boudra
2026-08-03 14:08:59 +02:00
parent 5c7623997c
commit 4406bf588e
4 changed files with 72 additions and 6 deletions
@@ -129,6 +129,7 @@ test.describe("Host appearance", () => {
expect(titleBox).not.toBeNull();
expect(rowBox).not.toBeNull();
expect(kebabBox).not.toBeNull();
await expect(badge).toHaveCSS("flex-shrink", "0");
expect(titleBox!.width).toBeGreaterThan(0);
expect(kebabBox!.x + kebabBox!.width).toBeLessThanOrEqual(rowBox!.x + rowBox!.width);
});