client/web: fix margins on login popover

Updates #10261

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
pull/10293/head
Sonia Appasamy 1 year ago committed by Sonia Appasamy
parent 5aa22ff3eb
commit 7238586652

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

Loading…
Cancel
Save