mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 12:26:13 +00:00
feat: correction in sizing
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { faShield, faClock } from "@fortawesome/free-solid-svg-icons";
|
import { faClock, faShield } from "@fortawesome/free-solid-svg-icons";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import { format } from "date-fns";
|
import { format } from "date-fns";
|
||||||
|
|
||||||
@@ -13,8 +13,8 @@ export const LastLoginSection = ({ lastLoginTime, lastLoginAuthMethod }: Props)
|
|||||||
<div className="font-medium">Last Login</div>
|
<div className="font-medium">Last Login</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="mb-2 flex items-center gap-2 text-sm">
|
<div className="mb-2 flex items-center gap-2 text-sm">
|
||||||
<div className="rounded bg-mineshaft-700 p-1 px-2">
|
<div className="flex items-center justify-center rounded bg-mineshaft-700 p-3">
|
||||||
<FontAwesomeIcon icon={faShield} />
|
<FontAwesomeIcon icon={faShield} className="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
<div className="text-sm font-medium">Authentication Method</div>
|
<div className="text-sm font-medium">Authentication Method</div>
|
||||||
@@ -22,8 +22,8 @@ export const LastLoginSection = ({ lastLoginTime, lastLoginAuthMethod }: Props)
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-2 text-sm">
|
<div className="flex items-center gap-2 text-sm">
|
||||||
<div className="rounded bg-mineshaft-700 p-1 px-2">
|
<div className="flex items-center justify-center rounded bg-mineshaft-700 p-3">
|
||||||
<FontAwesomeIcon icon={faClock} />
|
<FontAwesomeIcon icon={faClock} className="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
<div className="text-sm font-medium">Time</div>
|
<div className="text-sm font-medium">Time</div>
|
||||||
|
|||||||
+1
-1
@@ -7,6 +7,7 @@ import {
|
|||||||
faTrash
|
faTrash
|
||||||
} from "@fortawesome/free-solid-svg-icons";
|
} from "@fortawesome/free-solid-svg-icons";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
|
import { format } from "date-fns";
|
||||||
import { twMerge } from "tailwind-merge";
|
import { twMerge } from "tailwind-merge";
|
||||||
|
|
||||||
import { OrgPermissionCan } from "@app/components/permissions";
|
import { OrgPermissionCan } from "@app/components/permissions";
|
||||||
@@ -24,7 +25,6 @@ import { OrgPermissionIdentityActions, OrgPermissionSubjects } from "@app/contex
|
|||||||
import { useTimedReset } from "@app/hooks";
|
import { useTimedReset } from "@app/hooks";
|
||||||
import { identityAuthToNameMap, useGetIdentityById } from "@app/hooks/api";
|
import { identityAuthToNameMap, useGetIdentityById } from "@app/hooks/api";
|
||||||
import { UsePopUpState } from "@app/hooks/usePopUp";
|
import { UsePopUpState } from "@app/hooks/usePopUp";
|
||||||
import { format } from "date-fns";
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
identityId: string;
|
identityId: string;
|
||||||
|
|||||||
+1
-1
@@ -7,6 +7,7 @@ import {
|
|||||||
faPencil
|
faPencil
|
||||||
} from "@fortawesome/free-solid-svg-icons";
|
} from "@fortawesome/free-solid-svg-icons";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
|
import { format } from "date-fns";
|
||||||
|
|
||||||
import { createNotification } from "@app/components/notifications";
|
import { createNotification } from "@app/components/notifications";
|
||||||
import { OrgPermissionCan } from "@app/components/permissions";
|
import { OrgPermissionCan } from "@app/components/permissions";
|
||||||
@@ -22,7 +23,6 @@ import { useFetchServerStatus, useGetOrgMembership, useGetOrgRoles } from "@app/
|
|||||||
import { OrgUser } from "@app/hooks/api/types";
|
import { OrgUser } from "@app/hooks/api/types";
|
||||||
import { useResendOrgMemberInvitation } from "@app/hooks/api/users/mutation";
|
import { useResendOrgMemberInvitation } from "@app/hooks/api/users/mutation";
|
||||||
import { UsePopUpState } from "@app/hooks/usePopUp";
|
import { UsePopUpState } from "@app/hooks/usePopUp";
|
||||||
import { format } from "date-fns";
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
membershipId: string;
|
membershipId: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user