client/web: fix margins on login popover

Updates #10261

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
This commit is contained in:
Sonia Appasamy 2023-11-16 13:53:57 -05:00 committed by Sonia Appasamy
parent 5aa22ff3eb
commit 7238586652

View File

@ -137,7 +137,7 @@ function LoginPopoverContent({
return (
<div onMouseEnter={!canConnectOverTS ? checkTSConnection : undefined}>
<div className="text-black text-sm font-medium leading-tight">
<div className="text-black text-sm font-medium leading-tight mb-1">
{!auth.canManageNode ? "Viewing" : "Managing"}
{auth.viewerIdentity && ` as ${auth.viewerIdentity.loginName}`}
</div>
@ -181,7 +181,7 @@ function LoginPopoverContent({
))}
{auth.viewerIdentity && (
<>
<hr />
<hr className="my-2" />
<div className="flex items-center">
<User className="flex-shrink-0" />
<p className="text-neutral-500 text-xs ml-2">