mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
client/web: fix margins on login popover
Updates #10261 Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
This commit is contained in:
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…
Reference in New Issue
Block a user