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 (