Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

minor style updates

Vladyslav Matsiiako15fc12627ada
diff --git a/frontend/src/styles/globals.css b/frontend/src/styles/globals.css
index 693da7ce69..de4adfff42 100644
--- a/frontend/src/styles/globals.css
+++ b/frontend/src/styles/globals.css
@@ -49,6 +49,14 @@
@apply bg-mineshaft-800;
}
+ .breadcrumb:hover::before {
+ @apply bg-mineshaft-600;
+ }
+
+ .breadcrumb:hover::after {
+ @apply bg-mineshaft-600;
+ }
+
.breadcrumb::after {
left: 5px;
bottom: -3px;
diff --git a/frontend/src/views/DashboardPage/DashboardEnvOverview.tsx b/frontend/src/views/DashboardPage/DashboardEnvOverview.tsx
index c95a795db4..0ac6a56513 100644
--- a/frontend/src/views/DashboardPage/DashboardEnvOverview.tsx
+++ b/frontend/src/views/DashboardPage/DashboardEnvOverview.tsx
@@ -170,10 +170,10 @@ export const DashboardEnvOverview = () => {
</a>
</p>
</div>
- <div className="mt-4 flex items-center justify-between">
+ <div className="mt-8 flex items-center justify-between">
<div className="flex items-center space-x-2">
<div
- className="breadcrumb relative z-20 border-solid border-mineshaft-600 bg-mineshaft-800 py-1 px-5"
+ className="breadcrumb relative z-20 border-solid border-mineshaft-600 bg-mineshaft-800 hover:bg-mineshaft-600 py-1 pl-5 pr-2 text-sm"
onClick={() => onFolderCrumbClick(0)}
onKeyDown={() => null}
role="button"
@@ -189,7 +189,7 @@ export const DashboardEnvOverview = () => {
key={`secret-path-${index + 1}`}
className={`breadcrumb relative z-20 ${
index + 1 === arr.length ? 'cursor-default' : 'cursor-pointer'
- } border-solid border-mineshaft-600 py-1 px-5`}
+ } border-solid border-mineshaft-600 py-1 pl-5 pr-2 text-sm text-mineshaft-200`}
onClick={() => onFolderCrumbClick(index + 1)}
onKeyDown={() => null}
role="button"
@@ -210,7 +210,7 @@ export const DashboardEnvOverview = () => {
</div>
</div>
<div className="overflow-y-auto">
- <div className="sticky top-0 mt-8 flex h-10 min-w-[60.3rem] flex-row rounded-md border border-mineshaft-600 bg-mineshaft-800">
+ <div className="sticky top-0 mt-3 flex h-10 min-w-[60.3rem] flex-row rounded-md border border-mineshaft-600 bg-mineshaft-800">
<div className="sticky top-0 flex w-10 items-center justify-center border-none px-4">
<div className="w-10 text-center text-xs text-transparent">{0}</div>
</div>
diff --git a/frontend/src/views/DashboardPage/components/EnvComparisonRow/FolderComparisonRow.tsx b/frontend/src/views/DashboardPage/components/EnvComparisonRow/FolderComparisonRow.tsx
index a8870afc92..188106a96c 100644
--- a/frontend/src/views/DashboardPage/components/EnvComparisonRow/FolderComparisonRow.tsx
+++ b/frontend/src/views/DashboardPage/components/EnvComparisonRow/FolderComparisonRow.tsx
@@ -1,4 +1,4 @@
-import { faCheck, faFolder, faX } from '@fortawesome/free-solid-svg-icons';
+import { faCheck, faFolder, faXmark } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
type Props = {
@@ -35,7 +35,7 @@ export const FolderComparisonRow = ({
}`}
key={`${folderName}-${slug}`}
>
- <FontAwesomeIcon icon={folderInEnv[slug] ? faCheck : faX} />
+ <FontAwesomeIcon icon={folderInEnv[slug] ? faCheck : faXmark} />
</td>
))}
</tr>