Minor style tweaks

This commit is contained in:
Vladyslav Matsiiako
2023-02-10 16:45:31 -08:00
parent b82f8606a8
commit e8b498ca6d
3 changed files with 9 additions and 9 deletions
@@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
import Image from 'next/image'; import Image from 'next/image';
import { useRouter } from 'next/router'; import { useRouter } from 'next/router';
import { useTranslation } from 'next-i18next'; import { useTranslation } from 'next-i18next';
import { faX } from '@fortawesome/free-solid-svg-icons'; import { faXmark } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import getActionData from '@app/ee/api/secrets/GetActionData'; import getActionData from '@app/ee/api/secrets/GetActionData';
@@ -154,7 +154,7 @@ const ActivitySideBar = ({ toggleSidebar, currentAction }: SideBarProps) => {
tabIndex={0} tabIndex={0}
onClick={() => toggleSidebar('')} onClick={() => toggleSidebar('')}
> >
<FontAwesomeIcon icon={faX} className="w-4 h-4 text-bunker-300 cursor-pointer" /> <FontAwesomeIcon icon={faXmark} className="w-4 h-4 text-bunker-300 cursor-pointer" />
</div> </div>
</div> </div>
<div className="flex flex-col px-4"> <div className="flex flex-col px-4">
@@ -163,7 +163,7 @@ const ActivitySideBar = ({ toggleSidebar, currentAction }: SideBarProps) => {
actionMetaData?.name === 'deleteSecrets') && actionMetaData?.name === 'deleteSecrets') &&
actionData?.map((item, id) => ( actionData?.map((item, id) => (
<div key={`secret.${id + 1}`}> <div key={`secret.${id + 1}`}>
<div className="text-xs text-bunker-200 mt-4 pl-1"> <div className="text-xs text-bunker-200 mt-4 pl-1 ph-no-capture">
{item.newSecretVersion.key} {item.newSecretVersion.key}
</div> </div>
<DashboardInputField <DashboardInputField
@@ -183,7 +183,7 @@ const ActivitySideBar = ({ toggleSidebar, currentAction }: SideBarProps) => {
{item.newSecretVersion.key} {item.newSecretVersion.key}
</div> </div>
<div className="text-bunker-100 font-mono rounded-md overflow-hidden"> <div className="text-bunker-100 font-mono rounded-md overflow-hidden">
<div className="bg-red/30 px-2"> <div className="bg-red/30 px-2 ph-no-capture">
-{' '} -{' '}
{patienceDiff( {patienceDiff(
item.oldSecretVersion.value.split(''), item.oldSecretVersion.value.split(''),
@@ -201,7 +201,7 @@ const ActivitySideBar = ({ toggleSidebar, currentAction }: SideBarProps) => {
) )
)} )}
</div> </div>
<div className="bg-green-500/30 px-2"> <div className="bg-green-500/30 px-2 ph-no-capture">
+{' '} +{' '}
{patienceDiff( {patienceDiff(
item.oldSecretVersion.value.split(''), item.oldSecretVersion.value.split(''),
@@ -113,7 +113,7 @@ const SecretVersionList = ({ secretId }: { secretId: string }) => {
})} })}
</div> </div>
<div className=""> <div className="">
<p className="break-words"> <p className="break-words ph-no-capture">
<span className="py-0.5 px-1 rounded-md bg-primary-200/10 mr-1.5"> <span className="py-0.5 px-1 rounded-md bg-primary-200/10 mr-1.5">
Value: Value:
</span> </span>
+3 -3
View File
@@ -175,7 +175,7 @@ export default function SettingsOrg() {
</p> </p>
</div> </div>
</div> </div>
<div className="flex flex-col ml-6 text-mineshaft-50 mr-6 max-w-5xl"> <div className="flex flex-col ml-6 text-mineshaft-50 mr-6 max-w-8xl">
<div className="flex flex-col"> <div className="flex flex-col">
<div className="min-w-md mt-2 flex flex-col items-end pb-4"> <div className="min-w-md mt-2 flex flex-col items-end pb-4">
<div className="bg-white/5 rounded-md px-6 py-4 flex flex-col items-start w-full mb-6"> <div className="bg-white/5 rounded-md px-6 py-4 flex flex-col items-start w-full mb-6">
@@ -231,7 +231,7 @@ export default function SettingsOrg() {
text="You can add more members if you switch to Infisical's Team plan." text="You can add more members if you switch to Infisical's Team plan."
/> />
{/* <DeleteUserDialog isOpen={isDeleteOpen} closeModal={closeDeleteModal} submitModal={deleteMembership} userIdToBeDeleted={userIdToBeDeleted}/> */} {/* <DeleteUserDialog isOpen={isDeleteOpen} closeModal={closeDeleteModal} submitModal={deleteMembership} userIdToBeDeleted={userIdToBeDeleted}/> */}
<div className="pb-1 w-full flex flex-row items-start max-w-6xl"> <div className="pb-1 w-full flex flex-row items-start">
<div className="h-10 w-full bg-white/5 mt-2 flex items-center rounded-md flex-row "> <div className="h-10 w-full bg-white/5 mt-2 flex items-center rounded-md flex-row ">
<FontAwesomeIcon <FontAwesomeIcon
className="bg-white/5 rounded-l-md py-3 pl-4 pr-2 text-gray-400" className="bg-white/5 rounded-l-md py-3 pl-4 pr-2 text-gray-400"
@@ -255,7 +255,7 @@ export default function SettingsOrg() {
</div> </div>
</div> </div>
{userList && ( {userList && (
<div className="overflow-y-auto max-w-6xl w-full"> <div className="overflow-y-auto w-full">
<UserTable <UserTable
userData={userList} userData={userList}
changeData={setUserList} changeData={setUserList}