From 2c620e174253a03f1b04aaba6760f2b89fc568b0 Mon Sep 17 00:00:00 2001 From: David Hill Date: Sat, 24 Jan 2026 19:35:53 +0000 Subject: [PATCH] fix(app): update status popover styling and positioning --- .../app/src/components/status-popover.tsx | 31 +++++++++---------- packages/ui/src/components/popover.tsx | 1 + 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/app/src/components/status-popover.tsx b/packages/app/src/components/status-popover.tsx index 0e4216d9b..9e00d1ac7 100644 --- a/packages/app/src/components/status-popover.tsx +++ b/packages/app/src/components/status-popover.tsx @@ -138,7 +138,8 @@ export function StatusPopover() { triggerAs={Button} triggerProps={{ variant: "ghost", - class: "rounded-sm w-[75px] h-[24px] py-1.5 pr-3 pl-2 gap-2 border-none shadow-none", + class: + "rounded-sm w-[75px] h-[24px] py-1.5 pr-3 pl-2 gap-2 border-none shadow-none data-[expanded]:bg-surface-raised-base-active", style: { scale: 1 }, }} trigger={ @@ -154,8 +155,10 @@ export function StatusPopover() { Status } - class="[&_[data-slot=popover-body]]:p-0 w-[360px] max-w-[calc(100vw-40px)] mx-5 bg-transparent border-0 shadow-none rounded-xl" - gutter={12} + class="[&_[data-slot=popover-body]]:p-0 w-[360px] max-w-[calc(100vw-40px)] bg-transparent border-0 shadow-none rounded-xl" + gutter={6} + placement="bottom-end" + shift={-136} >
-
+
{(url) => { const isActive = () => url === server.url @@ -210,7 +213,7 @@ export function StatusPopover() { return (