Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

Rooms: cards in a row share a height; the filter menus fit their longest name

Simon Flackf621f9446283
diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/room-card.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/room-card.tsx
index b63fbb913..6e8dbbe20 100644
--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/room-card.tsx
+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/room-card.tsx
@@ -54,7 +54,7 @@ export function RoomCard({
return (
<div
data-room-card={card.id}
- className="group relative flex min-h-[168px] flex-col rounded-[11px] border border-border bg-background transition-colors hover:border-border-1"
+ className="group relative flex h-full min-h-[168px] flex-col rounded-[11px] border border-border bg-background transition-colors hover:border-border-1"
>
<button
type="button"
diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/server-rooms-view.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/server-rooms-view.tsx
index 445073dcf..1a07fae73 100644
--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/server-rooms-view.tsx
+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/server-rooms-view.tsx
@@ -344,7 +344,12 @@ function FilterSelect({
)}
</SelectValue>
</SelectTrigger>
- <SelectContent>
+ {/* As wide as its longest name, so two connections that differ only at the end stay told apart. */}
+ <SelectContent
+ align="start"
+ alignItemWithTrigger={false}
+ className="w-auto min-w-(--anchor-width)"
+ >
<SelectItem value={ANY}>{anyLabel}</SelectItem>
{options.map((option) => (
<SelectItem key={option.value} value={option.value}>